Create ESNext Module
See "Is there a way to "npm init" an ES module?".
Usage
Install create-esnext
globally:
yarn global add create-esnext
# or
npm i -g create-esnext
In the folder where you want to create a package.json, run:
yarn create esnext
# or
npm init esnext