Supports CommonJS
yisibl opened this issue · comments
A lot of historical Node.js projects won't be able to migrate to ESM anytime soon, and I think it would be better to support CommonJS.
All of them are perfectly capable of converting ESM to CJS themselves using quite a few tool options. If your project is stuck on CJS, it's not the job of your dependencies to stay stuck with you, you'll have to add the tools to pull modern code back into the past yourself.
the license certain allows for that, but it's kind of a nonsense thing to do given the JS tools available to everyone in late 2023 to fix this problem if your codebase has a CJS/ESM problem.