/npm-init-ex

npm init extended - a better npm init

Primary LanguageJavaScriptMIT LicenseMIT

npm-init-ex

npm init extended - a better npm init

npx npm-init-ex@latest

✨ Features

  1. Runs npm init -y

  2. Modifies the package.json

  • Sets version to 0.0.0 (Better for np)
  • Sets license to MIT
  • Adds main, bin and files fields (Assumes a dist folder)
  • Sets node in engines to >=20
  • Adds type: "module"
  • Sorts the fields
  1. Creates .npmrc with save-exact=true