Google News
logo
UI Developer - Interview Questions
What 'npm' is used for?
npm stands for Node Package Manager. npm provides the following two main functionalities :
 
* Online repositories for Node.js packages/modules which are searchable on search.nodejs.org

* Command-line utility to install packages, do version management and dependency management of Node.js packages.

* Another important use for npm is dependency management. When you have a node project with a package.json file, you can run npm install from the project root and npm will install all the dependencies listed in the package.json.
Advertisement