Skip to content
PluginStats

prettier-rm-duplicate-json-keys weekly downloads statistics

By zhoujiwei529 · npm · Prettier plugins

A Prettier plugin that removes duplicate keys from JSON files

View on npm Fresh · Dec 6, 2026

prettier-rm-duplicate-json-keys has 13 recorded weekly downloads on npm, an increase of 117% over the past 30 days, ranking #3089 of 3,247 tracked listings.

Weekly downloads
13
Official API · Dec 5, 2026
7-day growth
+44.4%
+4 weekly downloads
30-day growth
+117%
+7 weekly downloads
90-day growth
-13.3%
-2 weekly downloads
Rank
#3089
▼ 107 in 7 days

About prettier-rm-duplicate-json-keys

Prettier Plugin: Remove Duplicate JSON Keys

Modified based on prettier-plugin-sort-json. A Prettier plugin that removes duplicate keys from JSON files and provides flexible sorting options.

Features

  • Removes duplicate keys from JSON files
  • Supports various sorting algorithms for JSON keys
  • Configurable recursive sorting
  • Case-insensitive sorting options
  • Numeric and lexical sorting options

Installation

npm install --save-dev prettier-rm-duplicate-json-keys

Usage

Add the plugin to your Prettier configuration:

{
  "plugins": ["prettier-rm-duplicate-json-keys"],
  "jsonRecursiveSort": true,
  "jsonSortOrder": "lexical"
}

Configuration

Options
  • jsonRecursiveSort (boolean, default: false)

    • When true, sorts JSON files recursively, including any nested properties
  • jsonSortOrder (string, default: "lexical")

    • Specifies the sorting algorithm to use
    • Available options:
      • lexical: Standard alphabetical sorting
      • numeric: Numeric prefix sorting
      • caseInsensitiveLexical: Case-insensitive alphabetical sorting
      • caseInsensitiveNumeric: Case-insensitive numeric prefix sorting
      • reverseLexical: Reverse alphabetical sorting
      • reverseNumeric: Reverse numeric prefix sorting
      • caseInsensitiveReverseLexical: Case-insensitive reverse alphabetical sorting
      • caseInsensitiveReverseNumeric: Case-insensitive reverse numeric prefix sorting
      • none: No sorting

Example

Input JSON:

{
  "a": 1,
  "b": 2,
  "b": 3,
  "c": {
    "z": 1,
    "y": 2,
    "z": 3
  }
}

Output JSON (with jsonSortOrder: "lexical"):

{
  "a": 1,
  "b": 2,
  "c": {
    "y": 2,
    "z": 1
  }
}

Development

# Install dependencies
npm install

# Build the project
npm run build

License

ISC

Description from the npm listing.

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

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-rm-duplicate-json-keys weekly downloads on npm, last 90 days: 13 weekly downloads as of Dec 5, 2026, -13.3% over 90 days.prettier-rm-duplicate-json-keysWeekly downloads on npm · Last 90 days13downloads / week-13.3% over 90 days02468101214Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
prettier-rm-duplicate-json-keys weekly downloads on npm, last 90 days: 13 weekly downloads as of Dec 5, 2026, -13.3% over 90 days.

7/30/90-day growth

prettier-rm-duplicate-json-keys weekly downloads growth on npm: +44.4% over 7 days, +117% over 30 days, -13.3% over 90 days.prettier-rm-duplicate-json-keysWeekly downloads growth on npm13downloads / week now7-day growth+4 weekly downloads+44.4%30-day growth+7 weekly downloads+117%90-day growth-2 weekly downloads-13.3%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
prettier-rm-duplicate-json-keys weekly downloads growth on npm: +44.4% over 7 days, +117% over 30 days, -13.3% over 90 days.

Ranking history

prettier-rm-duplicate-json-keys npm ranking history: currently #3089 (by weekly downloads).prettier-rm-duplicate-json-keysnpm ranking · by weekly downloads · Last 90 days#3089current rank#2000#2200#2400#2600#2800#3000#3200Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
prettier-rm-duplicate-json-keys npm ranking history: currently #3089 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 155, #11 (overall #3,091)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins267 listings · 14 pages · page 11, #13 (overall #213)
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 (170)
Recent weekly downloads observations for prettier-rm-duplicate-json-keys
Date (UTC)Weekly downloadsChange vs. previous
130
13-1
14+11
30
3+1
2-1
3-6
90
9+1
80
80
80
8+1
7—

Similar npm Prettier plugins plugins

All 20 prettier-rm-duplicate-json-keys alternatives

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