The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
Add "module" property to npm init cli command
npm init prompts for the entry point to set the
main property. It would be nice if this was more explicit that
main should be the commonjs/node entry point, and also prompt for the ESM entry point to set the
module property. The main question here I think is what the default values should be.