prettier-plugin-cpx has 14 recorded weekly downloads on npm, an increase of 133% over the past 30 days.
It ranks #1879 of 2,256 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by +367%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About prettier-plugin-cpx
prettier-plugin-cpx
Prettier plugin for the CPX component template language.
Install
Add to your .prettierrc:
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
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 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.
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.