Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 540 Bytes

File metadata and controls

11 lines (8 loc) · 540 Bytes

Introduction to npm

what is npm

npm is an online repository for the publishing of open-source Node.js projects. Node.js libraries published on npm repository can be installed as modules in any Node.js application.

How to use

node modules can be installed using the command ,

  • npm install <node_module>

Another important use for npm is dependency management. The node modules mentioned as dependencies in the package.json can be installed with by running the below command from the project root directory,

  • npm install