Node 22: require() of ESM — the interop war is ending

Posted by Gopi Sakhi · 2024-06-12

Node 22 supports synchronous require() of ES modules. The CJS/ESM split that plagued the ecosystem for years is finally healing. This single feature resolves thousands of dual-package headaches. https://github.com/nodejs/node/releases/tag/v22.0.0

Explore GitVibes