Skip to content
PluginStats

prettier-plugin-remove-duplicate-json-keys weekly downloads statistics

By Dearest · npm · Prettier plugins

A Prettier plugin that removes duplicate keys in JSON files and maintains proper indentation

View on npm Stale · Oct 17, 2026

prettier-plugin-remove-duplicate-json-keys has 1 recorded weekly downloads on npm, a decrease of 87.5% over the past 30 days, ranking #2211 of 2,256 tracked listings.

Weekly downloads
1
Official API · Oct 17, 2026
7-day growth
—
Insufficient history
30-day growth
-87.5%
-7 weekly downloads
90-day growth
—
Insufficient history
Rank
#2211
Among tracked npm listings

About prettier-plugin-remove-duplicate-json-keys

prettier-plugin-remove-duplicate-json-keys

A Prettier plugin that removes duplicate keys in JSON files and maintains proper indentation. When duplicate keys are found, the plugin keeps the last occurrence of the key-value pair.

Features

• Removes duplicate keys in JSON files • Keeps the last occurrence of duplicate keys • Maintains proper indentation • Sorts keys alphabetically • Works recursively on nested objects • Preserves arrays and their contents

Installation

or

Usage

The plugin will be automatically picked up by Prettier. Just run Prettier as usual:

Example

Input:

Output:

Configuration

The plugin supports the following options:

enableSortJSON

Type: boolean Default: true

Controls whether to sort JSON object keys lexically. When enabled, all object keys will be sorted in alphabetical order. When disabled, the original order of keys will be preserved (except for duplicate keys, where the last occurrence is kept).

Example configuration in .prettierrc:

Or via CLI:

The plugin also respects Prettier's built-in options like tabWidth.

License

MIT

Description from the npm listing.

  • prettier
  • prettier-plugin
  • json
  • duplicate
  • keys
  • formatter
  • json-formatter

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

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

Adoption over time

prettier-plugin-remove-duplicate-json-keys weekly downloads on npm, last 90 days: 1 weekly downloads as of Oct 17, 2026.prettier-plugin-remove-duplicate-json-…Weekly downloads on npm · Last 90 days1downloads / week02468Jul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 17, 2026 · 88 observations · Updated Oc…pluginstats.com
prettier-plugin-remove-duplicate-json-keys weekly downloads on npm, last 90 days: 1 weekly downloads as of Oct 17, 2026.

7/30/90-day growth

prettier-plugin-remove-duplicate-json-keys weekly downloads growth on npm: 7-day growth unavailable, -87.5% over 30 days, 90-day growth unavailable.prettier-plugin-remove-duplicate-json-…Weekly downloads growth on npm1downloads / week now7-day growth+1 weekly downloadsInsufficient history30-day growth-7 weekly downloads-87.5%90-day growth+1 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
prettier-plugin-remove-duplicate-json-keys weekly downloads growth on npm: 7-day growth unavailable, -87.5% over 30 days, 90-day growth unavailable.

Ranking history

prettier-plugin-remove-duplicate-json-keys npm ranking history: currently #2211 (by weekly downloads).prettier-plugin-remove-duplicate-json-…npm ranking · by weekly downloads · Last 90 days#2211current rank#2204#2206#2208#2210#2212#2214Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
prettier-plugin-remove-duplicate-json-keys npm ranking history: currently #2211 (by weekly downloads).

Listing placement

All npm2,256 listings · 113 pages · 1,130 shown · page 111, #12 (overall #2,212)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins244 listings · 13 pages · page 11, #11 (overall #211)
Prettier plugins: every listing in weekly downloads order

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.

Each band is one page of 20. Weekly downloads on a linear 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.

Recent observations

Full history (121)
Recent weekly downloads observations for prettier-plugin-remove-duplicate-json-keys
Date (UTC)Weekly downloadsChange vs. previous
10
1+1
00
00
00
00
00
00
0-1
10
10
10
10
1—

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-remove-duplicate-json-keys. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.