6 ms·
It does more, it also includes a compatibility layer allowing you to require ESM packages in CJS. It's quite handy!
by basetensucks 1y ago
It does more, it also includes a compatibility layer allowing you to require ESM packages in CJS. It's quite handy!
- andrus 1y agoDon’t recent Node.js releases support this already? require(esm) was back ported to Node.js 20 in February