{"library":"init-package-json","type":"library","category":null,"description":"init-package-json is a Node.js module designed to programmatically and interactively create or update `package.json` files, primarily used by the npm CLI itself. It provides a wizard-like experience for users, prompting for essential package metadata such as name, version, description, entry point, test command, git repository, keywords, author, and license. The current stable version is 8.2.5, with frequent maintenance releases addressing bug fixes and dependency updates, often tied to releases of other `@npmcli` packages. Its key differentiator is its integration with `promzard` for flexible, scriptable prompting and the ability to utilize custom initialization files, offering a powerful way to standardize `package.json` creation across projects or teams. It is a low-level utility most often consumed by package managers rather than directly by end-user applications.","language":"javascript","status":"active","version":"8.2.5","tags":["javascript","init","package.json","package","helper","wizard","wizerd","prompt","start"],"last_verified":"Wed May 27","install":[{"cmd":"npm install init-package-json","imports":["const init = require('init-package-json')","const init = require('init-package-json')","/* PromZard context is implicitly passed. See PromZard documentation. */"]},{"cmd":"yarn add init-package-json","imports":[]},{"cmd":"pnpm add init-package-json","imports":[]}],"homepage":null,"github":"https://github.com/npm/init-package-json","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/init-package-json","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/init-package-json/compatibility"}}