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 / Release | Compatible Range / Support | Status & Verified Notes |
|---|---|---|
| npm 10 | Bundled with Node 20/22 | package-lock.json v3 |
| pnpm 9 | Node.js >= 18.12 | Content-addressable store |
| Yarn 4 (Berry) | Node.js >= 18.12 | Corepack managed |
| Bun 1.x | Standalone Zig/JSC runtime | bun.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