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 · Oct 18, 2026

prettier-plugin-align-comments has 3 recorded weekly downloads on npm, a decrease of 50.0% over the past 30 days, ranking #2248 of 2,322 tracked listings.

Weekly downloads
3
Official API · Oct 18, 2026
7-day growth
+200%
+2 weekly downloads
30-day growth
-50.0%
-3 weekly downloads
90-day growth
—
Insufficient history
Rank
#2248
Among tracked npm listings

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: 3 weekly downloads as of Oct 18, 2026.prettier-plugin-align-commentsWeekly downloads on npm · Last 90 days3downloads / week0246810Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
prettier-plugin-align-comments weekly downloads on npm, last 90 days: 3 weekly downloads as of Oct 18, 2026.

7/30/90-day growth

prettier-plugin-align-comments weekly downloads growth on npm: +200% over 7 days, -50.0% over 30 days, 90-day growth unavailable.prettier-plugin-align-commentsWeekly downloads growth on npm3downloads / week now7-day growth+2 weekly downloads+200%30-day growth-3 weekly downloads-50.0%90-day growth+3 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
prettier-plugin-align-comments weekly downloads growth on npm: +200% over 7 days, -50.0% over 30 days, 90-day growth unavailable.

Ranking history

prettier-plugin-align-comments npm ranking history: currently #2248 (by weekly downloads).prettier-plugin-align-commentsnpm ranking · by weekly downloads · Last 90 days#2248current rank#2200#2210#2220#2230#2240#2250Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
prettier-plugin-align-comments npm ranking history: currently #2248 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,162 shown · page 113, #12 (overall #2,252)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins244 listings · 13 pages · page 10, #14 (overall #194)
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 (122)
Recent weekly downloads observations for prettier-plugin-align-comments
Date (UTC)Weekly downloadsChange vs. previous
3+2
10
1+1
00
00
00
0-1
10
10
1-1
20
20
20
2—

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 Oct 20, 2026. See the methodology.