Skip to content
PluginStats

prettier-plugin-align weekly downloads statistics

By ccharmai · npm · Prettier plugins

A Prettier plugin for aligning enums, switch statements, and other code structures for better readability.

View on npm Fresh · Dec 6, 2026

prettier-plugin-align has 446 recorded weekly downloads on npm, an increase of 40.3% over the past 30 days, ranking #2289 of 3,247 tracked listings.

Weekly downloads
446
Official API · Dec 5, 2026
7-day growth
-6.1%
-29 weekly downloads
30-day growth
+40.3%
+128 weekly downloads
90-day growth
+148%
+266 weekly downloads
Rank
#2289
▼ 116 in 7 days

About prettier-plugin-align

prettier-plugin-align

A Prettier plugin for aligning enums, switch statements, and other structured code elements for better readability.

✨ Features

  • Aligns enum definitions for better readability
  • Formats switch statements to align case statements properly
  • Ensures consistent formatting without breaking Prettier’s rules

📦 Installation

Using npm:
npm install --save-dev prettier-plugin-align
Using Yarn:
yarn add -D prettier-plugin-align
Using pnpm:
pnpm add -D prettier-plugin-align

🚀 Usage

With Prettier CLI
prettier --plugin=prettier-plugin-align --write "**/*.ts"
In .prettierrc.json

Add the plugin to your Prettier config:

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

🎯 Example Formatting

Before:
enum Status {
  Pending,
  InProgress = "IN_PROGRESS",
  Done = "DONE"
}

switch (status) {
  case Status.Pending: return "Pending"
  case Status.InProgress: return "In Progress"
  case Status.Done: return "Done"
}
After:
enum Status {
  Pending     = "PENDING",
  InProgress  = "IN_PROGRESS",
  Done        = "DONE"
}

switch (status) {
  case Status.Pending:    return "Pending"
  case Status.InProgress: return "In Progress"
  case Status.Done:       return "Done"
}

🛠 Configuration

This plugin respects your existing Prettier settings. You can configure Prettier using .prettierrc.json, .prettierrc.js, or via CLI flags.

🧪 Running Tests

To run the test suite:

npm test

📜 License

This project is licensed under the MIT License.

Description from the npm listing.

  • prettier
  • prettier-plugin
  • enum formatting
  • switch formatting
  • align
  • alignment
  • formatting
  • code style

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-align weekly downloads on npm, last 90 days: 446 weekly downloads as of Dec 5, 2026, +148% over 90 days.prettier-plugin-alignWeekly downloads on npm · Last 90 days446downloads / week+148% over 90 days0100200300400500600700Sep 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-align weekly downloads on npm, last 90 days: 446 weekly downloads as of Dec 5, 2026, +148% over 90 days.

7/30/90-day growth

prettier-plugin-align weekly downloads growth on npm: -6.1% over 7 days, +40.3% over 30 days, +148% over 90 days.prettier-plugin-alignWeekly downloads growth on npm446downloads / week now7-day growth-29 weekly downloads-6.1%30-day growth+128 weekly downloads+40.3%90-day growth+266 weekly downloads+148%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
prettier-plugin-align weekly downloads growth on npm: -6.1% over 7 days, +40.3% over 30 days, +148% over 90 days.

Ranking history

prettier-plugin-align npm ranking history: currently #2289 (by weekly downloads).prettier-plugin-alignnpm ranking · by weekly downloads · Last 90 days#2289current rank#1600#1700#1800#1900#2000#2100#2200#2300Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
prettier-plugin-align npm ranking history: currently #2289 (by weekly downloads).

Listing placement

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

Listing placement

Prettier plugins267 listings · 14 pages · page 3, #15 (overall #55)
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-align
Date (UTC)Weekly downloadsChange vs. previous
446-14
460-3
463+59
404-34
438-9
447-24
471-4
475-19
494-8
502-17
519+5
514-1
515+51
464—

Similar npm Prettier plugins plugins

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