generator-npm-init
generator-npm-init copied to clipboard
Support module field
Supporting the module field would help JS ESM modules.
https://github.com/dherman/defense-of-dot-js/blob/master/proposal.md
I like this, the only question is what the default value should be (if any at all). I've opened a topic on the NPM discussion board as I'd prefer to keep this generator in line with the default npm init functionality.
https://npm.community/t/add-module-property-to-npm-init-cli-command/10244