npm vs pnpm vs Yarn vs Bun Node Compatibility

Feature and lockfile compatibility across JavaScript package managers.

Runs locally in browser Free · No login Independently Verified 2026-11-24 v1.0.0
Component / ReleaseCompatible Range / SupportStatus & Verified Notes
npm 10Bundled with Node 20/22package-lock.json v3
pnpm 9Node.js >= 18.12Content-addressable store
Yarn 4 (Berry)Node.js >= 18.12Corepack managed
Bun 1.xStandalone Zig/JSC runtimebun.lock / bun.lockb

Technical Explanation

Feature and lockfile compatibility across JavaScript package managers. Filter the matrix above by version or export as CSV/JSON. Records reflect official upstream documentation as of 2026-11-24; unverified or experimental combinations are explicitly flagged rather than guessed.

Worked Examples

  • Use the search box above the matrix to filter by a specific version number or LTS branch.
  • Export the filtered compatibility table as JSON or CSV for CI upgrade checklists.

Limitations & Assumptions

  • Upstream end-of-life dates and minor patch requirements may change; always verify against the vendor release notes before production upgrades.

Source References & Verification

Resource ID: compat-js-package-managers · Independently verified: 2026-11-24

Related Resources