The JavaScript package manager for installing dependencies, running package scripts, and publishing packages to registries.

When to Use It

Your project uses the npm ecosystem and wants the package manager commonly distributed with Node.js.

When to Look Elsewhere

In a larger workspace, compare installation layout, local package linking, and deployment behavior before switching package managers. Changing only the lockfile can hide real packaging differences.

What to Try First

Pin the npm version for your environment, commit the lockfile, and use npm ci on a clean checkout. For a library, inspect the packed tarball before publishing.

ShipFoundry for your project

Find the npm Updates Worth Shipping

Add npm to your project in ShipFoundry. See which releases are worth acting on, why they fit your stack, and what your coding agent should check first.

Start 7-Day Trial