logoalt Hacker News

pier25yesterday at 10:12 PM1 replyview on HN

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.


Replies

colinmcdyesterday at 10:40 PM

Indeed, Nub intentionally introduces no Nub-specific APIs: no Nub global, no nub: prefixed built-in modules, no Nub-named config file / lockfile, no "nub" field in package.json, not even any NUB_ environment variables. Most of the stuff Bun added is better as a proper dependency imo.