Skip to content
PluginStats

prettier-plugin-angular weekly downloads statistics

By p-otero · npm · Prettier plugins

Prettier plugin for Angular HTML attribute alignment and sorting

View on npm Fresh · Oct 17, 2026

prettier-plugin-angular has 549 recorded weekly downloads on npm, a decrease of 12.9% over the past 30 days.

It ranks #1483 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -47.4%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
549
Official API · Oct 17, 2026
7-day growth
-50.3%
-556 weekly downloads
30-day growth
-12.9%
-81 weekly downloads
90-day growth
-47.4%
-494 weekly downloads
Rank
#1483
Among tracked npm listings

About prettier-plugin-angular

prettier-plugin-angular

A Prettier plugin for Angular HTML templates that formats, aligns, and sorts element attributes.

What it does

Attribute alignment

Attributes are formatted using the minimum number of lines needed:

• Single line — if everything fits within printWidth: • Aligned — first attribute inline with the tag, rest aligned to the same column: • Fallback — if the tag itself is too long to inline the first attribute, each attribute on its own line indented by tabWidth:

Attribute sorting

Attributes are sorted by category in this order:

| Category | Examples |

| ref | #myRef | | structural | *ngIf, *ngFor | | twoWay | [(ngModel)] | | input | [value], [disabled], [attr.aria-label] | | output | (click), (ngModelChange) | | animation | [@fadeIn] | | static | id="x", class="foo", formControlName="x" | | boolean | disabled, required, showIcon |

Self-closing elements

Elements with no real children are always output as self-closing, regardless of how they were written in the source:

This also applies to elements with only whitespace between their tags.

Angular control flow formatted

Elements inside @if, @for, @switch, @defer and other Angular control flow blocks are fully formatted — not emitted verbatim:

Install

Configure

In .prettierrc:

Options

| Option | Type | Default | Description |

| angularAttributeSort | boolean | true | Sort attributes by category | | angularAttributeOrder | string[] | ["ref","structural","twoWay","input","output","animation","static","boolean"] | Category order (any subset, in your preferred order) |

Full example

Input:

Output:

Description from the npm listing.

  • prettier
  • prettier-plugin
  • angular
  • html
  • formatter

Where prettier-plugin-angular sits in the listing

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.

All npm2,248 listings · 113 pages · page 75, #4 (overall #1484)
All npm: every listing in weekly downloads order
PNG SVG
Prettier plugins241 listings · 13 pages · page 2, #10 (overall #30)
Prettier plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

prettier-plugin-angular weekly downloads on npm, last 90 days: 549 weekly downloads as of Oct 17, 2026, -47.4% over 90 days.prettier-plugin-angularWeekly downloads on npm · Last 90 days549downloads / week-47.4% over 90 days02004006008001K1.2K1.4K1.6KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
prettier-plugin-angular weekly downloads on npm, last 90 days: 549 weekly downloads as of Oct 17, 2026, -47.4% over 90 days.
PNG SVG

7/30/90-day growth

prettier-plugin-angular weekly downloads growth on npm: -50.3% over 7 days, -12.9% over 30 days, -47.4% over 90 days.prettier-plugin-angularWeekly downloads growth on npm549downloads / week now7-day growth-556 weekly downloads-50.3%30-day growth-81 weekly downloads-12.9%90-day growth-494 weekly downloads-47.4%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
prettier-plugin-angular weekly downloads growth on npm: -50.3% over 7 days, -12.9% over 30 days, -47.4% over 90 days.
PNG SVG

Ranking history

prettier-plugin-angular npm ranking history: currently #1483 (by weekly downloads).prettier-plugin-angularnpm ranking · by weekly downloads · Last 90 days#1483current rank#1481#1482#1483#1484#1485Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
prettier-plugin-angular npm ranking history: currently #1483 (by weekly downloads).
PNG SVG

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.

Recent observations

Full history (121)
Recent weekly downloads observations for prettier-plugin-angular
Date (UTC)Weekly downloadsChange vs. previous
549-56
605-50
655-272
927-170
1,0970
1,097+28
1,069-36
1,105+36
1,069+60
1,009+60
949-79
1,028-282
1,310-1
1,311—

Similar npm Prettier plugins plugins

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-angular. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.