Back to course

NPM and package.json

Node.js uses npm (Node Package Manager) to manage dependencies.

What is npm?

npm lets you:

  • Install third-party libraries
  • Manage versions
  • Run scripts
  • Share packages

Example:

npm init -y
npm install express