prettier-plugin-verticalize weekly downloads statistics
By panruiplay · npm · Prettier plugins
a Prettier plugin for vertically aligning your code.
prettier-plugin-verticalize has 11 recorded weekly downloads on npm, a decrease of 63.3% over the past 30 days.
It ranks #1897 of 2,251 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -82.0%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About prettier-plugin-verticalize
prettier-plugin-verticalize
这是一个 Prettier v3+ 插件,用于对代码中的变量声明、枚举属性、赋值表达式等进行垂直对齐。
目前支持的对齐:
• 变量声明 • 枚举值 • 赋值表达式 • 行尾注释
⚠️ 本插件依赖等宽字体才能正确显示对齐效果。请确保编辑器使用的是等宽(monospace)字体,例如 Fira Code, JetBrains Mono, Consolas, Monaco 等。
效果预览
安装
需要 Prettier 3.x。
启用
在 Prettier 配置文件(prettier.config.js、prettier.config.cjs 或 .prettierrc)中注册插件。
配置选项
| 选项 | 类型 | 默认值 | 说明 |
| minGroupSize | number | 2 | 最少几条语句视为一组进行对齐 | | maxWidthDiff | number | 20 | 组内语句之间最大宽度差异 | | alignTrailingComments | boolean | true | 是否启用行尾注释对齐 | | alignEnums | boolean | true | 是否启用枚举对齐 | | alignVariableDeclaration | boolean | true | 是否启用变量声明对齐 | | alignAssignment | boolean | true | 是否启用赋值语句对齐 | | alignTrailingCommentsMinGroupSize | number | - | 单独设置行尾注释 minGroupSize | | alignTrailingCommentsMaxWidthDiff | number | - | 单独设置行尾注释 maxWidthDiff | | alignEnumsMinGroupSize | number | - | 单独设置枚举 minGroupSize | | alignEnumsMaxWidthDiff | number | - | 单独设置枚举 maxWidthDiff | | alignVariableDeclarationMinGroupSize | number | - | 单独设置变量声明 minGroupSize | | alignVariableDeclarationMaxWidthDiff | number | - | 单独设置变量声明 maxWidthDiff | | alignAssignmentMinGroupSize | number | - | 单独设置赋值语句 minGroupSize | | alignAssignmentMaxWidthDiff | number | - | 单独设置赋值语句 maxWidthDiff |
minGroupSize
maxWidthDiff
Description from the npm listing.
- prettier
- prettier-plugin
- vertical-align
Where prettier-plugin-verticalize 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.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
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)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-verticalize. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.