{"library":"prettier-plugin-packagejson","type":"library","category":null,"description":"A Prettier plugin that automatically sorts the keys of package.json files using sort-package-json. The current stable version is 3.0.2, released March 2026. It releases frequently (multiple versions per month) and only supports Prettier v3+ (dropped v2 support in v3.0.0). Key differentiators: provides a customizable sort order via the `packageSortOrder` option, ships TypeScript type declarations, and integrates seamlessly with Prettier's plugin system.","language":"javascript","status":"active","version":"3.0.2","tags":["javascript","package.json","plugin","prettier","typescript"],"install":[{"cmd":"npm install prettier-plugin-packagejson","imports":["plugins: ['prettier-plugin-packagejson']","{\n  \"packageSortOrder\": [\"name\", \"version\", \"main\"]\n}","import type { Plugin } from 'prettier'"]},{"cmd":"yarn add prettier-plugin-packagejson","imports":[]},{"cmd":"pnpm add prettier-plugin-packagejson","imports":[]}],"homepage":null,"github":"https://github.com/matzkoh/prettier-plugin-packagejson","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/prettier-plugin-packagejson","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/prettier-plugin-packagejson/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}