compare
npm vs pnpm
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | npm | pnpm |
|---|---|---|
| Language | JavaScript | Rust |
| Licence | Other | MIT |
| Stars | 10k | 37k |
| Latest | libnpmpack-v8.0.6 | v12.21.0 |
| Last push | 2026-11-19 | 2026-11-23 |
| Release cadence | about 1 day between releases | about 1 day between releases |
| Active contributors | 15 commit authors on the default branch in the last 90 days | 62+ commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
pnpm replaces npm. Alternatives to npm →
Full replacementSame package.json, a content-addressed store and its own lockfile.
Published benchmarks, each linked to its source. The numbers depend on the hardware and the workload they were measured on.
Installing the alotta-files project
Fresh clone: npm 12.2.0 45.6s, pnpm 12.9.1 4.47s. Cache and lockfile present: npm 7.14s, pnpm 826ms.
npm
- libnpmpack-v9.1.162026-11-19libnpmpack: v9.1.16
- libnpmfund-v7.0.292026-11-19libnpmfund: v7.0.29
- libnpmexec-v10.3.62026-11-19libnpmexec: v10.3.6
- libnpmdiff-v8.1.152026-11-19libnpmdiff: v8.1.15
- config-v10.14.12026-11-19config: v10.14.1
pnpm
- v11.29.02026-11-22pnpm 11.29
- v12.23.02026-11-22pnpm 12.23
- pnpr@0.1.0-alpha.222026-11-22pnpr 0.1.0-alpha.22pre-release
- v11.28.132026-11-17pnpm 11.28.13
- v12.22.02026-11-17pnpm 12.22.0
npm
unsigned The latest release, libnpmpack-v8.0.6, carries no signature GitHub could verify.
Loading the security report
pnpm
✓ signed The latest release, v12.21.0, carries a signature GitHub verified.
Loading the security report