I’m wondering how that works. Deno has very complicated import resolution, so building my own import resolver to be compatible with it is a bit of a pain. (This is for a custom lint-like tool.)
Show HN: Nub – A Bun-like all-in-one toolkit for Node.js
21–30 of 85 posts
Re: Show HN: Nub – A Bun-like all-in-one toolkit for Node.js
#22Very smart. You can't lose all your customers for vibe-coding a migration to Rust if you are already written in Rust ;)
Re: Show HN: Nub – A Bun-like all-in-one toolkit for Node.js
#23Respect 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).
A small scrappy team can prove out a good idea because failure is not a catastrophic risk to them. In short, forks are part of a healthy ecosystem.
Re: Show HN: Nub – A Bun-like all-in-one toolkit for Node.js
#24Respect 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).
Fundamentally you can't fix a lot of things with this approach. Simple example: Node is the only serious OSS software I know of that has no way to document its config (in the config file itself). It's moronic! The Node people just adopted JSON without a thought, and then refused to consider any alternatives (even "JSON with comments"). When an organization digs into bad decisions, the only way to fix them is to start…
Tangential but this also drives me absolutely nuts. If I have to see `"//": "some comment"` one more time I'm gonna lose it.
Re: Show HN: Nub – A Bun-like all-in-one toolkit for Node.js
#25Re: Show HN: Nub – A Bun-like all-in-one toolkit for Node.js
#26Very smart. You can't lose all your customers for vibe-coding a migration to Rust if you are already written in Rust ;)
Re: Show HN: Nub – A Bun-like all-in-one toolkit for Node.js
#27I’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. Mo…
Relatedly Node.js recently (2025) introduced a synchronous version of its resolver hook registration API (`module.registerHooks()`) specifically to improve performance over the old async `module.register()` API. It was a big unblocker for Nub. For the interested, the async API added 19ms fixed registration overhead + about 130us additional overhead per import.
Which flag Nub uses here doesn't impact userland at all, TLA is supported wherever it's supported by Node.js itself.
Re: Show HN: Nub – A Bun-like all-in-one toolkit for Node.js
#28Respect 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).
You might remember the io.js fork of Node.js back in 2014. Node was stagnating, a bunch of people forked it into io.js, which eventually got merged back into Node and got it back on track. Or, going further back, CoffeeScript, a "fork" of JS that had its best ideas adopted back into ES5. A small scrappy team can prove out a good idea because failure is not a catastrophic risk to them. In short, forks are part of a he…
Re: Show HN: Nub – A Bun-like all-in-one toolkit for Node.js
#29Earlier quoted context omitted.
They'll get bought out by OpenAI and convert the project to Zig
huh, is OpenAI embracing Zig specifically? TIL