Menu

1 / 4

GitHub - nubjs/nub: The fast all-in-one Node.js toolkit

Hacker News·4 months ago
#OEZB6Eqg
Reading 0:00
15s threshold

A fast all-in-one toolkit that augments Node.js instead of replacing it

A Bun-like DX on top of stock node , written in Rust.

nub index.ts # TypeScript-first Node.js runtime nub run dev # 24× faster pnpm run nubx prisma generate # 19× faster npx nub install # 2.5× faster pnpm install nub watch src/server.ts # native watch mode nub pm shim # built-in Corepack-style shims nub node install 26 # Node version manager nub upgrade # self update

One tool to run your files and scripts, install dependencies, and manage Node itself. No new runtime, no vendor-specific API surface, no lock-in.

Nub Instead of

nub <file> node , tsx , ts-node , dotenv-cli

nub run <script> npm run , pnpm run

nubx npx , pnpm dlx / exec

nub install npm , pnpm

nub watch nodemon , node --watch , tsx watch

nub node nvm , fnm , n , volta

nub pm corepack

Install

<div dir="auto" data-snippet-clipboard-copy-content="# macOS / Linux curl -fsSL https://nubjs.com/install.sh | bash

# Windows (PowerShell) irm https://nubjs.com/install.ps1 |…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.