npm

npm is a JavaScript package registry and command-line tool for sharing code and managing packages. The free Registry and CLI support public package publishing and use, and the Free plan gives public package authors unlimited public packages. npm accepts package.json folders, gzipped tarballs, URLs, name-and-version or tag references, and Git URLs. Its documented capabilities include dependency resolution, lockfiles, workspaces, private registry authentication, and offline installation. npm runs on macOS, Windows, Linux, and other operating systems through Node.js installers or version managers. For private publishing, the Paid user account plan costs 7.00 USD per month. Pro costs 7.00 USD per month and includes unlimited private packages and package-based permissions for individual creators. Teams costs 7.00 USD per user per month, with unlimited private packages and team-based permissions. npm also supports organizations, members, roles, permissions, and package access management. Its listed plan details say paid billing starts when card information is submitted, with the first month charged immediately. All plans include basic support and automatic security warnings.

Who it is for

npm suits JavaScript developers who need to publish or install packages, manage dependencies, or share code. Public package authors can use the free plan; individual creators and teams can choose paid plans for private packages and permissions.

What is good

  • Free plan includes unlimited public packages.
  • Supports dependency resolution, lockfiles, and workspaces.
  • Private packages are available in paid plans.
  • Supports offline installation.
  • All plans include basic support and automatic security warnings.

What to know first

  • Private publishing requires a paid plan.
  • Paid billing starts when card information is submitted.
  • The first paid month is charged immediately.

Verdict

npm supports public package publishing for free and offers paid options for private packages and access management. Check whether an individual or team plan fits your needs, and note that billing starts when card information is submitted.

npm plans and pricing

All plans
Free Free billed monthly Public package publishing and use · Public registry access npmjs.com · 27 Sept 2026
Paid user account $7/mo billed monthly Install and publish private packages docs.npmjs.com · 19 Sept 2026
Pro $7/mo $7 per month npmjs.com · 27 Sept 2026
Teams $7/mo $7 per user per month npmjs.com · 27 Sept 2026

Compared on package managers

Free plan
Yes
Paid from
$7/mo

Best npm alternatives

See all 12