npm init extended - a better
npm init
npx npm-init-ex@latest-
Runs
npm init -y -
Modifies the
package.json
- Sets version to
0.0.0(Better fornp) - Sets license to
MIT - Adds
main,binandfilesfields (Assumes adistfolder) - Sets
nodeinenginesto>=20 - Adds
type: "module" - Sorts the fields
- Creates
.npmrcwithsave-exact=true