Show HN: Nub – A Bun-like all-in-one toolkit for Node.js
- Programming
- Developer Tools
- Open Source
- Infrastructure
Nub is an all-in-one toolkit for Node.js that aims to feel closer to Bun while still executing your code on stock Node. Instead of shipping a separate runtime, it starts Node with a `--require` preload hook, installs a transpiler backed by Oxc through a Node-API add-on, registers module resolution hooks, and adds polyfills for APIs like `Worker` and `Temporal` when needed. The creator’s core pitch is restraint: no Nub-specific global API, no custom config format, no lockfile, and no attempt to replace Node’s engine or standard library.
If you want Bun-like convenience but cannot swap out Node in production, Nub looks like a credible way to improve local and server-side DX without taking on a new runtime. The practical watchpoint is operational fit: check startup overhead, production build needs, and whether its runtime augmentations are acceptable in your deployment model.
- github.com
- Discuss on HN