Skip to content
PluginStats

prettier-plugin-align-comments weekly downloads statistics

By hayyaun · npm · Prettier plugins

Utility for aligning trailing comments in Prettier-formatted code

View on npm Fresh · Dec 6, 2026

prettier-plugin-align-comments has 6 recorded weekly downloads on npm, a decrease of 40.0% over the past 30 days, ranking #3204 of 3,247 tracked listings.

Weekly downloads
6
Official API · Dec 5, 2026
7-day growth
+50.0%
+2 weekly downloads
30-day growth
-40.0%
-4 weekly downloads
90-day growth
+100%
+3 weekly downloads
Rank
#3204
▼ 68 in 7 days

About prettier-plugin-align-comments

prettier-plugin-align-comments

Utility for aligning trailing comments in Prettier-formatted code.

Installation

npm install --save-dev prettier-plugin-align-comments

Usage

Create a wrapper file for your language plugin:

// prettier-solidity-aligned.mjs
import { wrapPlugin } from "prettier-plugin-align-comments";
import solidityPlugin from "prettier-plugin-solidity";

export default wrapPlugin(solidityPlugin, "solidity-ast");

Then reference it in your config:

// prettier.config.mjs
export default {
  plugins: ["./prettier-solidity-aligned.mjs"],
  alignColumn: -1,
  alignMinConsecutive: 2,
};

Or with JSON config:

{
  "plugins": ["./prettier-solidity-aligned.mjs"],
  "alignColumn": -1,
  "alignMinConsecutive": 2
}

Example

Before:

uint256 public x; // Short
address public owner; // Another line
bool public isActive; // Active flag

After:

uint256 public x;        // Short
address public owner;    // Another line
bool public isActive;    // Active flag

Options

alignColumn (default: -1)

  • -1: Auto-align to longest line
  • > 0: Fixed column number

alignMinConsecutive (default: 2)

  • Minimum consecutive lines to trigger alignment

Programmatic API

import { alignComments } from "prettier-plugin-align-comments";

const pattern = /^(\s*)(.*?)([;,])\s+(\/\/.*)$/;
const aligned = alignComments(text, pattern, -1, 2);

License

MIT

Description from the npm listing.

  • prettier
  • prettier-plugin
  • comments
  • alignment
  • formatting
  • javascript
  • typescript
  • python
  • rust
  • go
  • solidity
  • java
  • php
  • ruby
  • universal

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-comments weekly downloads on npm, last 90 days: 6 weekly downloads as of Dec 5, 2026, +100% over 90 days.prettier-plugin-align-commentsWeekly downloads on npm · Last 90 days6downloads / week+100% over 90 days02468101214Sep 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-comments weekly downloads on npm, last 90 days: 6 weekly downloads as of Dec 5, 2026, +100% over 90 days.

7/30/90-day growth

prettier-plugin-align-comments weekly downloads growth on npm: +50.0% over 7 days, -40.0% over 30 days, +100% over 90 days.prettier-plugin-align-commentsWeekly downloads growth on npm6downloads / week now7-day growth+2 weekly downloads+50.0%30-day growth-4 weekly downloads-40.0%90-day growth+3 weekly downloads+100%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
prettier-plugin-align-comments weekly downloads growth on npm: +50.0% over 7 days, -40.0% over 30 days, +100% over 90 days.

Ranking history

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

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 161, #6 (overall #3,206)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins267 listings · 14 pages · page 13, #12 (overall #252)
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-comments
Date (UTC)Weekly downloadsChange vs. previous
60
6-1
7+4
30
3+1
20
2-2
40
4-1
50
5-1
6-4
10-2
12—

Similar npm Prettier plugins plugins

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