Skip to content
JS
Package

prettier-package-json

Prettier formatter for package.json files

v2.8.0, 23 Dec 2022MITCommonJSTypes: NoneLinting and formattingParsers and serialisers
$ npm install prettier-package-json

Key numbers

As of 25 Sept 2026
Weekly downloads
49.6k
+25% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
9
Direct, from package.json
Last release
3 years ago
v2.8.0
GitHub stars
156
18 forks
Open issues / PRs
13 / 2
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
025k50k75k100kSept 2025Mar 2026Sept 2026High 93.3k (28 Jul 2026)Low 21.2k (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

49,580 downloads last week, 239,056 in the last month. The 12-month change of +25% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.8.0, 23 Dec 20223 years ago
First published
-
Last push to GitHub
10 Jul 2024807 days before the snapshot
Repository archived
No
Open issues
13
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
63

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
28 kB
Dependencies (9)
globfs-extracommanderminimatchsort-ordercosmiconfigparse-authorsort-object-keys@types/parse-author
npm install prettier-package-json
  • jsDelivrhttps://cdn.jsdelivr.net/npm/prettier-package-json@2.8.0/
  • unpkghttps://unpkg.com/prettier-package-json@2.8.0/
  • esm.shhttps://esm.sh/prettier-package-json@2.8.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@biomejs/biome10.9m-8 days ago--
eslint-plugin-json588.1k-2 months agoCommonJS-
eslint-plugin-jsonc1.1m-1 month agoESM only-
@oxlint/plugins2.4m-3 days agoESM + CommonJS-
@eslint/markdown637.5k-2 months agoESM only-
prettier-eslint-cli172.1k-3 months agoESM only-
@tony.ganchev/eslint-plugin-header25.1k-5 months agoESM + CommonJS-
lint23.7k-4 months agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.