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