# nubjs/nub

The fast all-in-one Node.js toolkit

Repository: https://github.com/nubjs/nub
Canonical: https://ross.abutalabs.com/products/nub
Homepage: https://nubjs.com
Language: Rust
License: MIT
License Family: permissive
Topics: javascript-runtime, node-version-manager, nodejs, package-manager, script-runner
Last push: 2026-08-26T01:55:44+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 84, longevity 6
- inputs: {"age_days": 91, "days_push": 8, "days_rel": 24, "gap_med": 0, "n_releases_24m": 86}
- flags: young
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4122, forks 57 (observed 2026-08-28T04:08:35.961087+00:00)

## What it is
Nub is an all-in-one Rust CLI toolkit for Node.js that runs TypeScript/JSX files, package.json scripts, and local CLIs on stock Node, plus a pnpm-compatible package installer and a Node version manager. It augments the existing Node binary via public extension surfaces rather than shipping a new runtime, replacing tsx, npm run, npx, and nvm with a single fast binary.

## Use cases
- run typescript files directly on node without a build step
- faster alternative to npm run and pnpm run
- replace npx for running local or remote CLIs
- install node dependencies faster than pnpm
- manage node versions without nvm or fnm
- watch and restart a node server on file changes
- replace tsx and ts-node with a faster typescript runner
- one tool to replace node npm npx and nvm

## When to choose
- you want Bun-like developer experience without leaving stock Node.js
- you want one binary replacing tsx, npm run, npx, and nvm
- your project uses pnpm, npm, yarn, or bun lockfiles and you want a faster installer that round-trips them
- you need full TypeScript support including enum, namespace, and decorators without a build step
- you want fast script and bin runners for CI or local development

## When to avoid
- you need a genuinely different JavaScript runtime with its own APIs like Bun or Deno
- you rely on legacy npm flags such as --unsafe-perm or --scripts-prepend-node-path
- you want a battle-tested tool with years of production hardening
- your workflow depends on tooling that patches or forks the Node binary itself

## Facets
- artifact type: cli-tool
- maturity: active
- function: package-manager, cli, developer-tools, build-tool, version-control
- domain: developer-tools, backend, web-development
- platform: windows, cli, rust
- tags: nodejs-toolkit, typescript-runner, node-version-manager, script-runner, bun-alternative, npx-replacement, corepack-replacement, pnpm-compatible, command-line, javascript, macos, linux, nodejs

## Member repositories
- nubjs/nub (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:35.961087+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:23:05.998477+00:00, confidence not recorded.
  - readme: https://github.com/nubjs/nub (fetched 2026-08-28T04:08:35.961087+00:00, sha 22c5d095cd54)
  - homepage: https://nubjs.com (fetched 2026-08-29T09:14:27.758223+00:00, sha 9301a52f7466)
  - site_page: https://nubjs.com/docs (fetched 2026-08-29T09:14:27.767497+00:00, sha 7d05b379dc48)
  - site_page: https://nubjs.com/docs/node (fetched 2026-08-29T09:14:27.770081+00:00, sha 535ba6447d5d)
  - site_page: https://nubjs.com/docs/faq (fetched 2026-08-29T09:14:27.773074+00:00, sha 913512ef1e44)
  - site_page: https://nubjs.com/docs/runtime (fetched 2026-08-29T09:14:27.776083+00:00, sha d36f9af35ec3)
  - site_page: https://nubjs.com/docs/runner (fetched 2026-08-29T09:14:27.778244+00:00, sha 9abd1735f31d)
  - site_page: https://nubjs.com/docs/runner/run (fetched 2026-08-29T09:14:27.780030+00:00, sha 2ac016c412b7)
  - site_page: https://nubjs.com/docs/pm (fetched 2026-08-29T09:14:27.782170+00:00, sha dc11337a7364)
  - site_page: https://nubjs.com/docs/watch (fetched 2026-08-29T09:14:27.783944+00:00, sha 47770918b818)
- Data as of 2026-08-30T08:39:29.467469+00:00.
