Compare
| npm | pnpm | Yarn | Bun | |
|---|---|---|---|---|
| What it is | The package manager for JavaScript | Fast, disk space efficient package manager | Safe, stable, reproducible projects | Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one |
| Kind | Open core | Open source | Open source | Open source |
| Trust | 0.76 | 0.75 | 0.59 | 0.88 |
| Stars | 10277 | 37083 | 8126 | 96693 |
| Last commit | 2026-11-18 | 2026-11-15 | 2026-11-11 | 2026-11-15 |
| Licence | Artistic-2.0 | MIT | BSD-2-Clause | MIT |
| Pricing | Free tier, from $7/month | Free and open source | Free and open source | Free and open source |
| Free tier | Yes | Yes | Yes | Yes |
| Self-hostable | No | Yes | Yes | Yes |
| Ways to run it | — | — | — | — |
| SOC 2 | — | — | — | — |
| HIPAA | — | — | — | — |
| SSO | — | — | — | — |
| API | Yes | No | — | No |
| Plugins | — | No | Yes | No |
| MCP server | — | No | — | No |
| Company | GitHub acquired by Microsoft (2018) | — | — | Oven acquired by Anthropic (2025) |
| Features |
|
|
|
|