Nub
Dev tools
node.js toolkit
SHOW HN2026
How HN took it
14 positive, 14 neutral or asking, 1 mixed, 7 critical, out of 36 comments about the project. Thread score +0.23.
Idea: 8 for, 3 againstPerformance: 2 for, 0 againstExecution: 1 for, 0 againstDocs: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Clever name and approach of building on existing Node mechanisms
From 3 comments
love this, and the name "nub" is conceptually perfect (1) adopts existing tech and improves, rather than a greenfield project with worse compat (2) the way it uses existing node…
sgammon on HNI didn't even click on the link. I just came to give the author a hat-tip on the project name. Well played.
sgarrity on HNI actually really like this! Great choices all around.
haburka on HN
Very fast, monorepo migration went smoothly
From 1 comment
Just merged a PR migrating our entire monorepo to nub. 0 issues, ridiculously fast.
ssalbdivad on HN
Full pnpm compatibility
From 1 comment
You can continue using pnpm if you don't want. You can also move over to Nub if you want to performance wins. It has complete pnpm compatibility. Flag for flag identical CLI,…
colinmcd on HN
Objections
Node's built-in TypeScript stripping is limited; Nub adds real type handling
From 1 comment
Node's built-in Typescript support is just for type stripping. That works for a massive amount of TypeScript syntax, but not all of it. It also doesn't bother actually checking…
zamadatix on HN
Heavy vibe-coding and Claude involvement in the repo
From 2 comments
This project is already highly vibe-coded. Claude is the second contributor of the repo.
maxloh on HNVery smart. You can't lose all your customers for vibe-coding a migration to Rust if you are already written in Rust ;)
gorjusborg on HN
Websocket server support unclear in readme
From 2 comments
The readme says Websockets support is native from Node 22, except Node does not have a native Websockets library. Their link for Websockets standard goes to MDN, which is fine…
austin-cheney on HNNode supports a built-in WebSocket client since 22, but not a server.
soulofmischief on HN
Requests
Add nub --compile like Bun
From 2 comments
Nice. Can we get `nub --compile` up in there like Bun has?
montroser on HNI will seriously consider migrating once this exists! I couldn’t imagine deploying any other way now. I can never go back from SCPing a single binary to my server and just…
allthetime on HN
Production build command
From 1 comment
Right now, you should use Nub on the backend if you are relying on its augmentations. If you specifically want to disable Nub's augmentations (so you have a guarantee that your…
colinmcd on HN
Questions
Does it work in Docker and on Cloudflare Workers
From 2 comments
nice ! does this work on docker containers ?
GL26 on HNNice, I think this fills a niche. Does it work on cloudflare workers?
bookernath on HN
Is it safe and fast enough for production backends
From 1 comment
Am I expected to be able to run this in production on the backend, or do I still need to transpile and bundle? Do we expect the performance and memory overhead to be negligible.…
jpambrun on HN
Alternatives named
Bun
From 2 comments
Very cool idea which makes a lot of sense. Bun provides more (eg db drivers) but the DX is certainly a big part of its appeal. For reference, the main author of Nub is Colin…
pier25 on HNwhat's wrong with bun? And how is this better?
nsonha on HN
Deno
From 1 comment
This is _very_ interesting, thanks for building and sharing it, Colin! I've got a couple of decent-sized products running on Deno (and I've been a fan since it came out, not so…
BrunoBernardino on HN
jiti
From 1 comment
There's also the option of using Jiti https://github.com/unjs/jiti It would add an extra dependency though
Onavo on HN