Join the discussion
Write your take first — we'll ask for email only when you're ready to publish.
- Hacker News
- Respect for embracing existing tech instead of rewriting a worse version of it. Wonder where we would be today if all alternative-building effort went to Node instead (with proper leadership).by ivanjermakov
- I saw this on twitter and loved it, such a good move on your part Colin. Hope the project picks up tons of steam!by awaseem
- 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 mechanisms to implement itself (+oxc) is very smart
(3) i like that the node.js-forever crowd has a way to use the newest stuff
by sgammon - 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 much since 1.0 and 2.0, but still feel it's better than Node), but Node has been catching up and Deno has slowed down, so this might be the "compatibility middleware" that'll get me to move things back to Node.
Will keep a close eye on it.
- Hasn't Node been able to run TypeScript for a couple of versions? Why's the transpiler needed?by vmsp
- Just merged a PR migrating our entire monorepo to nub.
0 issues, ridiculously fast.
by ssalbdivad - I’m surprised to see this using a `--require` hook (rather than `--import`). Maybe something’s changed significantly since I was looking into building some similar functionality… but it makes me wonder about nuances in nub’s ESM support.
(When I was investigating this it was very early in Node’s `--import` story, but there were several edge cases with the more common ESM-to-CJS approaches that I wanted to address. Most were probably exceedingly niche concerns, but I’d expect top-level await to affect a meaningful subset of users.)
- 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 McDonnell who created Zod and even worked at Bun at some point.
by pier25