NPM:- NPM stands for Node Package Manager.
NPM (Node Package Manager) provides the following two main functionalities:-
- It works as an Online repository for node.js packages/modules which are present at <nodejs.org>.
- It works as Command line utility to install packages, do version management and dependency management of Node.js packages. NPM comes bundled along with Node.js installable.
We can see the version of NPM by using following command-
PS C:\Vinod\nodejs\crm-app> npm --version
NPM helps to install any Node.js module using the following command.
npm install <Module Name>
Example to install a famous Node.js web framework module called express-
npm install express