Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 2.49 KB

RESOURCES.md

File metadata and controls

35 lines (26 loc) · 2.49 KB

Resources

A collection of items related to Node.js module work

Reading

Meetings

Prior Art

Following a list of ESM and CommonJS relevant projects.

Bundlers

  • Webpack multi purpose bundler compatible with CommonJS exports.default strategy. Actually diverging from npm resolution preferring a browser field in the package.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

Transpilers

  • 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

Loaders

  • 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.

Runtime Utilities