Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It does more, it also includes a compatibility layer allowing you to require ESM packages in CJS. It's quite handy!


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




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: