Hacker News new | ask | show | jobs
by basetensucks 335 days ago
It does more, it also includes a compatibility layer allowing you to require ESM packages in CJS. It's quite handy!
1 comments

Don’t recent Node.js releases support this already? require(esm) was back ported to Node.js 20 in February