Skip to content

Node.js npm and Packages

npm is the standard package manager in the Node.js ecosystem. It is used for:

  • adding runtime and development dependencies
  • defining project scripts
  • publishing and consuming packages
Terminal window
npm init -y
npm install express
npm run test

The Node.js ecosystem moves quickly. Teams need clear dependency policies, reproducible lockfiles, and well-defined project scripts to keep large codebases maintainable.