addaleax

addaleax/gen-esm-wrapper

Generate ESM wrapper files for CommonJS modules

JavaScript
133
7
MIT License

This CLI tool helps Node.js module authors create dual ESM/CJS packages by automatically generating ESM wrapper files from existing CommonJS module exports. It simplifies adding both `import` and `require` support through package.json's `exports` field. The tool is particularly useful for maintaining compatibility across Node.js module systems without manual wrapper code

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of addaleax/gen-esm-wrapper

Account's avatar
the Istanbul command line interface

Support the repos that depend on this repository

Top contributors

addaleax's profile
addaleax
23 contributions
schwarzkopfb's profile
schwarzkopfb
2 contributions
bjornstar's profile
bjornstar
1 contributions
jawj's profile
jawj
1 contributions
guybedford's profile
guybedford
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet