# 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 n…

- **Page:** https://magpie.gallery/i/nub-a-bun-like-all-in-one-toolkit-for-node-js-gvi1
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Tags:** nodejs, toolkit, transpiler, polyfills, runtime

## Source

Web · colinmcd: Nub – A Bun-like all-in-one toolkit for Node.js

- **Original:** https://news.ycombinator.com/item?id=48660267

> 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... https://github.com/nubjs/nub

## GitHub projects

- https://github.com/nubjs/nub

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
