Skip to content
PluginStats

prettier-plugin-cpx weekly downloads statistics

By devclaim · npm · Prettier plugins

Prettier plugin for the CPX component template language

View on npm Fresh · Dec 6, 2026

prettier-plugin-cpx has 66 recorded weekly downloads on npm, an increase of 24.5% over the past 30 days, ranking #2711 of 3,247 tracked listings.

Weekly downloads
66
Official API · Dec 5, 2026
7-day growth
+214%
+45 weekly downloads
30-day growth
+24.5%
+13 weekly downloads
90-day growth
+1220%
+61 weekly downloads
Rank
#2711
▲ 76 in 7 days

About prettier-plugin-cpx

prettier-plugin-cpx

Prettier plugin for the CPX component template language.

Install

npm install --save-dev prettier-plugin-cpx
# or
yarn add -D prettier-plugin-cpx

Add to your .prettierrc:

{
  "plugins": ["prettier-plugin-cpx"]
}

What it does

  • Sorts imports alphabetically by source path
  • Breaks JSX attributes to one-per-line when they exceed printWidth, keeps them inline when they fit
  • Puts the render expression on its own indented line below render
  • Match arms one per line, body wraps to next line when too long
  • Preserves string content — interpolated strings are never reformatted

Example

from "./LinkVariant.cpx" import { LinkVariant }
from "./LinkStruct.cpx" import { LinkStruct }

export component Link {
	content: slot
	link: LinkStruct
	variant: LinkVariant

	render
		match (variant) {
			LinkVariant.DEFAULT -> <a href={link.href}>{content}</a>,
			default -> <span>{content}</span>
		}
}

Description from the npm listing.

  • prettier
  • prettier-plugin
  • cpx
  • component-engine

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-cpx weekly downloads on npm, last 90 days: 66 weekly downloads as of Dec 5, 2026, +1220% over 90 days.prettier-plugin-cpxWeekly downloads on npm · Last 90 days66downloads / week+1220% over 90 days020406080100120140Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
prettier-plugin-cpx weekly downloads on npm, last 90 days: 66 weekly downloads as of Dec 5, 2026, +1220% over 90 days.

7/30/90-day growth

prettier-plugin-cpx weekly downloads growth on npm: +214% over 7 days, +24.5% over 30 days, +1220% over 90 days.prettier-plugin-cpxWeekly downloads growth on npm66downloads / week now7-day growth+45 weekly downloads+214%30-day growth+13 weekly downloads+24.5%90-day growth+61 weekly downloads+1220%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
prettier-plugin-cpx weekly downloads growth on npm: +214% over 7 days, +24.5% over 30 days, +1220% over 90 days.

Ranking history

prettier-plugin-cpx npm ranking history: currently #2711 (by weekly downloads).prettier-plugin-cpxnpm ranking · by weekly downloads · Last 90 days#2711current rank#1800#2000#2200#2400#2600#2800Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
prettier-plugin-cpx npm ranking history: currently #2711 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 136, #11 (overall #2,711)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins267 listings · 14 pages · page 6, #3 (overall #103)
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-plugin-cpx
Date (UTC)Weekly downloadsChange vs. previous
66+4
62+2
60+7
53+4
49-3
52+19
33+12
21+2
19+3
16-4
20-6
26-15
41-15
56—

Similar npm Prettier plugins plugins

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