What is npm?

npm originally stood for Node Package Manager and is the standard package manager commonly used with Node.js. It is used to install, update, remove, and manage project dependencies and to run scripts defined in package.json. npm also provides access to a large public package registry.

Key Takeaways
  • npm manages dependencies.
  • npm can execute package.json scripts.
  • npm provides access to a large package registry.
Knowledge Check

What is npm primarily used for?