Following a list of ESM and CommonJS relevant projects.
- Webpack multi purpose bundler compatible with CommonJS
exports.default
strategy. Actually diverging from npm resolution preferring abrowser
field in thepackage.json
instead of actual CommonJS. - Rollup next-generation ES6 module bundler with tree shaking capability
- Parceljs multi purpose bundler focused on zero config and performance
- Browserify the CommonJS module bundler that brought NodeJS to the Web
- Babel converts ES2015+ to older versions, including a CommonJS interop layer with ESM
- TypeScript TypeScript is a typed superset of JavaScript that compiles to plain JavaScript, including a CommonJS interop layer with ESM
- Reify compiles ESM syntax to CommonJS on the fly, supporting live bindings without rewriting imported variable names
- @std/esm is a fork of Reify focused on following Node's ESM support roadmap while providing a bridge from the CJS/ESM usage of today to the ESM of tomorrow.
- cjs4esm brings CommonJS modules and
require
to ESM compatible environments such SpiderMonkey, JSC, or ESM compatible browsers - import.js is a dynamic
import(...)
polyfill - SpiderMonkey ESM Loader
- CGJS is a CommonJS runtime for GJS