npm-esm-vs-cjs
npm-esm-vs-cjs copied to clipboard
Data on the share of ESM vs CJS on the public npm registry
First of all, thanks for doing this project, it's very helpful for looking into the ESM situation in the ecosystem! I am using the data in `data/2024-02-20.json` to find high...
First, thank you for doing this! I’ve been thinking about the problem you’re aiming to solve here, which is to measure “how the shift to ESM is progressing.” One way...
When I was testing out https://github.com/nodejs/node/pull/55085/, to get a sense of what modules couldn't be loaded before `require(esm)` is supported but could be loaded after it's unflagged, I have [this...
I have noticed that [`@puppeteer/browsers`](https://github.com/wooorm/npm-esm-vs-cjs/blob/main/data/2024-08-28.json#L2597) seems to be classified as cjs although the [exports](https://registry.npmjs.org/@puppeteer/browsers/latest) map contains both `require` and `import`. It looks like dual esm/cjs packages might not be always...