Appendix A. Installing Node.js and Using npm

Introduction

Node.js is an event-driven platform built on top of V8, the JavaScript engine of Google Chrome. The platform implements fully non-blocking I/O for V8, and is mainly used for building real-time I/O-intensive web applications.

The Node.js installer provides the following two main components:

  • the node binary, which can be used to run the JavaScript files written for the platform
  • the node package manager npm, which can be used to install the node libraries and tools written by the node community

Get HTML5 Data and Services Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.