npm

Node.js's default package manager and the public npm registry for JavaScript packages.

The npm CLI installs, publishes and manages JavaScript dependencies, and it ships with Node.js. The registry it talks to is the central distribution point for the JavaScript ecosystem. npm is owned by GitHub, which has added features such as provenance attestations and trusted publishing.

Type
Developer tool
Category
Backend
Maintainer
GitHub (Microsoft)
First released
2010
License
Open source (Artistic-2.0)
Pricing
Open source — Public packages are free; private packages and organisations have paid plans.
Level
Beginner
Technologies
nodejs, javascript
GitHub stars
10,299
Latest release
[object Object]
Last verified
26 Nov 2026

What npm is used for

  • Installing dependencies
  • Publishing packages
  • Running project scripts

Strengths

  • Bundled with Node.js
  • Universal registry
  • Workspaces support

Limitations

  • Slower and more disk-hungry than pnpm
  • Supply-chain attacks target the registry

npm alternatives

  • pnpm Developer tool
  • Yarn Developer tool
  • Bun Developer tool

How it relates to other tools

Built with the same technologies

Official links

Sources

Explore