Show HN: Nub – A Bun-like all-in-one toolkit for Node.js(github.com)
255 points by colinmcd 22 hours ago | 72 comments
tl;dr: Nub is a Rust-written, Bun-like toolkit that augments stock Node.js rather than replacing it, bundling a TypeScript-capable file runner, script runner, package runner (nubx), package manager, watch mode, and Node version manager into one CLI. It claims significant speedups over existing JS-based tooling (e.g., ~24× faster than `pnpm run`, ~19× faster than `npx`, 2.5× faster installs than pnpm) while maintaining flag compatibility with npm/pnpm and reading incumbent package managers' config files. Distributed via curl, Homebrew, or npm, with a GitHub Actions integration drop-in for `actions/setup-node`.
HN Discussion:
  • Enthusiastic praise for the project's approach and execution
  • Confirms speed claims through real-world migration experience
  • Questions technical accuracy of Websockets native support claim
  • ~Questions necessity of bundled transpiler given Node's native TypeScript support
  • ~Suggests wrapping pnpm rather than replacing it for package management