Repository

nubjs/nub

Nub

The fast all-in-one Node.js toolkit

4.5kstars

Open github.com

nubjs/nub

Nub

An all-in-one Node.js toolkit that runs TypeScript/JSX files, manages dependencies, and handles Node versions via a Rust-based preload hook with oxc transpiler.

Visit project

Show me a random project

First shared
Jun 24, 2026
HN activity
27781

Show HN@colinmcdJun 24, 2026

Show HN: Nub – A Bun-like all-in-one toolkit for Node.js

Colin here, creator of Nub. I’ve had the general shape of this in mind for years. Nub runs your code with stock `node`, augmented with a `--require` preload hook[0] that adds a transpiler (oxc-powered, packaged as a Node-API add-on), registers a module resolution hook[1], and injects polyfills as needed for APIs like `Worker`, `Temporal`, etc. All purely additive, your code ultimately runs using Node’s actual engine & stdlib implementations. [0] https://nodejs.org/api/cli.html#-require-module [1] https://nodejs.org/api/module.html#moduleregisterhooksoption...

Community

Hacker News discussion

Loading the thread…