April 2018
Intermediate to advanced
178 pages
3h 51m
English
Node.js eases support to third-party open source-developed modules by providing npm. It allows you, as a developer, to easily install, manage, and even provide your own module packages. The npm package repository is available at http://www.npmjs.org/ and is accessible via its command-line interface.
If you didn't use the installer, then you will need to install npm separately. For example, Ubuntu users can make use of their package installer as follows:
apt-get npm install
If you upgraded your Node.js installation and you had previously installed npm 5.6, you would be asked to upgrade it to version 6. To do that, just execute:
sudo npm i -g npm
Once npm is installed, it is useful to set it permanently in your user profile's PATH environment ...