npm init-package-json 9.0.0
v9.0.0

10 hours ago

9.0.0 (2026-05-22)

⚠️ BREAKING CHANGES

  • init-package-json now supports node ^22.22.2 || ^24.15.0 || >=26.0.0
  • template-oss-apply
  • The author prompt will now be shown even if an author is already specified in the existing package.json. If the user leaves the prompt blank, the author field will be omitted from the resulting package.json instead of being set to an empty string.
  • existing packages in node_modules are no longer used to try to pre-populate dependencies and devDependencies
  • The license field is no longer included by default when running npm init or npm init --yes. If you want to include a license, you can either set it in your npm config (npm set init-license=MIT) or provide it interactively when running npm init.

Features

Bug Fixes

Dependencies

Chores

Don't miss a new init-package-json release

NewReleases is sending notifications on new releases.