Skip to content
PluginStats

prettier-plugin-insert-comma weekly downloads statistics

By refirst11 · npm · Prettier plugins

A Prettier plugin for inserting missing commas in multi-line objects.

View on npm Stale · Oct 17, 2026

prettier-plugin-insert-comma has 36 recorded weekly downloads on npm, a decrease of 64.0% over the past 30 days, ranking #1776 of 2,256 tracked listings.

Weekly downloads
36
Official API · Oct 17, 2026
7-day growth
-64.4%
-65 weekly downloads
30-day growth
-64.0%
-64 weekly downloads
90-day growth
+100%
+18 weekly downloads
Rank
#1776
Among tracked npm listings

About prettier-plugin-insert-comma

prettier-plugin-insert-comma

A Prettier plugin that automatically inserts missing commas in multi-line object properties before formatting.

Prettier cannot format code with syntax errors like missing commas in objects. This plugin runs as a preprocessor to insert commas between properties, allowing Prettier to format your code successfully.

The plugin first checks the original source with Prettier's language parser. If the parser reports a missing comma, it inserts a separator and checks again. This preserves literal contents, including regular expressions, JSX text, and nested template strings. Comments, shorthand properties, methods, numeric and Unicode keys are supported. Trailing commas are left to Prettier's settings.

Recovery requires another parse for each missing comma and is limited to 100 insertions per file. If recovery fails or reaches that limit without producing valid syntax, the original source is passed back to Prettier for its normal error reporting. Other syntax errors are not repaired.

Requirements

• Prettier 3.7.0 or higher

Example

Before — Prettier would throw a parse error:

After — commas are inserted, Prettier formats normally:

Installation

Install prettier-plugin-insert-comma as a dev dependency:

Then add the plugin to your Prettier configuration:

For JSON files, you need to specify the parser explicitly with overrides:

Supported Languages

| Language |

| TypeScript, TSX | | JavaScript, JSX | | JSON |

Description from the npm listing.

  • prettier
  • prettier-plugin
  • comma
  • missing-comma
  • auto-fix
  • typescript
  • javascript
  • json

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-insert-comma weekly downloads on npm, last 90 days: 36 weekly downloads as of Oct 17, 2026, +100% over 90 days.prettier-plugin-insert-commaWeekly downloads on npm · Last 90 days36downloads / week+100% over 90 days050100150200250300Jul 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-insert-comma weekly downloads on npm, last 90 days: 36 weekly downloads as of Oct 17, 2026, +100% over 90 days.

7/30/90-day growth

prettier-plugin-insert-comma weekly downloads growth on npm: -64.4% over 7 days, -64.0% over 30 days, +100% over 90 days.prettier-plugin-insert-commaWeekly downloads growth on npm36downloads / week now7-day growth-65 weekly downloads-64.4%30-day growth-64 weekly downloads-64.0%90-day growth+18 weekly downloads+100%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
prettier-plugin-insert-comma weekly downloads growth on npm: -64.4% over 7 days, -64.0% over 30 days, +100% over 90 days.

Ranking history

prettier-plugin-insert-comma npm ranking history: currently #1776 (by weekly downloads).prettier-plugin-insert-commanpm ranking · by weekly downloads · Last 90 days#1776current rank#1768#1770#1772#1774#1776#1778Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
prettier-plugin-insert-comma npm ranking history: currently #1776 (by weekly downloads).

Listing placement

All npm2,256 listings · 113 pages · 1,129 shown · page 89, #17 (overall #1,777)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins244 listings · 13 pages · page 4, #17 (overall #77)
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-insert-comma
Date (UTC)Weekly downloadsChange vs. previous
36-2
38-28
660
66-14
800
80-20
100-1
101-11
112+21
91-2
93-15
108-15
123-10
133—

Similar npm Prettier plugins plugins

All 20 prettier-plugin-insert-comma 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-plugin-insert-comma. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.