Better Stack
jollycoding's profile
James@jollycoding•Jul 26
2.6K

There's a NEW Package Manager!? (Bun Alternative)

From youtube.com•Jul 26•8m watch time

Nub is a new all-in-one JavaScript toolkit built on top of Node.js (not replacing it) that consolidates a package manager, TypeScript file runner, script runner, package runner, and Node version manager into a single Rust binary. Created by Colin (the creator of Zod), it claims to be 5x faster than pnpm for installs, 19x faster than npx for package running, and 24x faster than pnpm run for scripts. It supports full TypeScript (including enums, namespaces, decorators), automatic .env loading, JSON/YAML/TOML imports, and is flag-for-flag compatible with pnpm. Benchmarks on the author's machine confirm the speed claims, with Nub installing 212 packages in 136ms vs Bun's 239ms. It also adopts existing lock files from Bun or pnpm, making migration easy. The author sees it as most useful for quick throwaway environments or as a tsx replacement.

484.8K Impressions18 CommentsHeart1 Award
jollycoding's user avatar
James
@jollycoding
Joined Nov 21. 2024
2.6K

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard