Skip to content
PluginStats

prettier-plugin-pkg weekly downloads statistics

By un-ts (5 listings) · npm · Prettier plugins

An opinionated package.json formatter plugin for Prettier

View on npm Fresh · Oct 17, 2026

prettier-plugin-pkg has 18,101 recorded weekly downloads on npm, a decrease of 48.7% over the past 30 days.

It ranks #778 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -54.6%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
18,101
Official API · Oct 17, 2026
7-day growth
-52.8%
-20.3K weekly downloads
30-day growth
-48.7%
-17.2K weekly downloads
90-day growth
-54.6%
-21.8K weekly downloads
Rank
#778
Among tracked npm listings

About prettier-plugin-pkg

prettier-plugin-pkg

An opinionated package.json formatter plugin for Prettier, based on [prettier-plugin-package][].

Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing, taking various rules into account.

This plugin adds support for package.json files used within NPM modules, [npm][], [yarn][] and [VSCode][] is supported out of box.

Requirements

prettier-plugin-pkg is an evergreen module. 🌲 This module requires an LTS Node version (v12.0.0+).

Install

Usage

Once installed, Prettier plugins must be added to .prettierrc:

Then:

Rules

This plugin enforces its own set of opinionated rules:

Engines

Keys in engines are ordered alphabetically.

Files

Keys in files are ordered alphabetically (keeping the negations below), followed by README.md and LICENSE if they exist in the array.

Scripts

Keys in scripts are ordered alphabetically. Use prefixes wisely to properly order child scripts. e.g. lint, lint:ts.

Sorting

Top-level keys are sorted according to a style commonly seen in the packages of @JounQin, @1stG and @unts. Known keys, and their order are

Unknown keys, or keys not part of the list above, will be alphabetically sorted and added to the end of the file. Note that this list takes into account both npm and yarn keys.

You can also use the packageSortOrder option to specify a custom sort order, or use the packageSortOrderPreset option to use a preset sort order:

• npm: sorts by npm's document • npm-plus: sorts by sort-package-json and therefore is compatible to prettier-plugin-packagejson

Forthcoming

Forthcoming rules include:

• [ ] Author format • [ ] Repository format

Format Options

Acknowledgements

Thanks for @shellscape's original great work of [prettier-plugin-package][] again.

Sponsors and Backers

Sponsors

| 1stG | RxTS | UnTS |

| | | |

Backers

| 1stG | RxTS | UnTS |

| | | |

Meta

LICENSE (Mozilla Public License)

Description from the npm listing.

  • package
  • package.json
  • pkg
  • plugin
  • prettier
  • prettier-plugin

Where prettier-plugin-pkg sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,248 listings · 113 pages · page 39, #18 (overall #778)
All npm: every listing in weekly downloads order
PNG SVG
Prettier plugins241 listings · 13 pages · page 1, #11 (overall #11)
Prettier plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

prettier-plugin-pkg weekly downloads on npm, last 90 days: 18,101 weekly downloads as of Oct 17, 2026, -54.6% over 90 days.prettier-plugin-pkgWeekly downloads on npm · Last 90 days18,101downloads / week-54.6% over 90 days010K20K30K40K50K60KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
prettier-plugin-pkg weekly downloads on npm, last 90 days: 18,101 weekly downloads as of Oct 17, 2026, -54.6% over 90 days.
PNG SVG

7/30/90-day growth

prettier-plugin-pkg weekly downloads growth on npm: -52.8% over 7 days, -48.7% over 30 days, -54.6% over 90 days.prettier-plugin-pkgWeekly downloads growth on npm18,101downloads / week now7-day growth-20,254 weekly downloads-52.8%30-day growth-17,212 weekly downloads-48.7%90-day growth-21,785 weekly downloads-54.6%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
prettier-plugin-pkg weekly downloads growth on npm: -52.8% over 7 days, -48.7% over 30 days, -54.6% over 90 days.
PNG SVG

Ranking history

prettier-plugin-pkg npm ranking history: currently #778 (by weekly downloads).prettier-plugin-pkgnpm ranking · by weekly downloads · Last 90 days#778current rank#776#777#778#779#780Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
prettier-plugin-pkg npm ranking history: currently #778 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (121)
Recent weekly downloads observations for prettier-plugin-pkg
Date (UTC)Weekly downloadsChange vs. previous
18,101-4.2K
22,269-1.1K
23,380-8.3K
31,641-6.8K
38,4010
38,401-287
38,688+333
38,355-335
38,690+811
37,879-1.3K
39,209-839
40,048-7.9K
47,904+1.8K
46,089—

Similar npm Prettier plugins plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/prettier-plugin-pkg. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.