Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
basetensucks
· 1y ago · 0 comments
It does more, it also includes a compatibility layer allowing you to require ESM packages in CJS. It's quite handy!
Comments
[–]
andrus
1y ago
Don’t recent Node.js releases support this already? require(esm) was back ported to Node.js 20 in February