For the complete documentation index, see llms.txt. This page is also available as Markdown.

NPM

NPM (Node Package Manager) is the official Node.js package manager.

It is automatically installed with Node.js and is used to handle JavaScript (browser & Node.js) dependencies.

For those who knew bower, well, it's dead.

NPM allows:

  • Dependencies management (just like apt, gem, maven, nugget, pip, yum...).

  • JavaScript modules creation and publishing.

  • Download and install of dependencies depending on a module's dependencies description.

  • Sharing entry point scripts with developers and machines (e.g.: Continuous Integration) like build, debug, deploy, test etc...

We will use NPM once, to install Yarn...

... because it's better (Cf. Yarn).

Last updated