June 2014
Intermediate to advanced
696 pages
38h 52m
English
To use a Node module in your applications, it must first be installed where Node can find it. To install a Node module, use the npm install <module_name> command to download the Node module to your development environment and place it in the node_modules folder, where the install command is run. For example, the following command installs the express module:
npm install express
The output of the npm install command displays the HTTP requests to download the necessary files as well as the dependency hierarchy that was installed with the module. For example, Figure 3.3 shows part of the output from installing the express module.
Figure 3.3 Output from installing the express module.
Notice that several .tgz files ...
Read now
Unlock full access