@belt/prettier-plugin weekly downloads statistics
By belt · npm · Prettier plugins
Prettier plugin for standardizing line breaks and multi-line formatting
@belt/prettier-plugin has 3 recorded weekly downloads on npm, a decrease of 93.0% over the past 30 days.
About @belt/prettier-plugin
@belt/prettier-plugin
Prettier plugin for standardizing line breaks and multi-line formatting.
Installation
npm install -D @belt/prettier-plugin
Usage
Add the plugin to your Prettier configuration:
// prettier.config.mjs
export default {
plugins: ['@belt/prettier-plugin'],
};
What it does
This plugin enforces consistent multi-line formatting to stabilize diffs and improve readability.
Rules
- Arrays - Forces multi-line when elements exceed threshold
- Objects - Forces multi-line when properties exceed threshold
- TypeScript type literals - Forces multi-line when members exceed threshold
- Function parameters - Forces multi-line when parameter count exceeds 3
- If statements - Enforces braces when condition length exceeds threshold
Before
const config = {
a: 1,
b: 2,
c: 3,
};
const items = [1, 2, 3, 4, 5];
function process(a: string, b: number, c: boolean, d: object) {}
After
const config = {
a: 1,
b: 2,
c: 3,
};
const items = [1, 2, 3, 4, 5];
function process(a: string, b: number, c: boolean, d: object) {}
Options
| Option | Default | Description |
|---|---|---|
multilineWrapThreshold | 1 | Base threshold for multi-line wrapping |
objectWrapThreshold | inherits from multilineWrapThreshold | Threshold for objects |
arrayWrapThreshold | inherits from objectWrapThreshold | Threshold for arrays |
paramsPrintWidth | 50 | Max length before forcing braces in if statements |
License
MIT
Description from the npm listing.
- prettier
- prettier-plugin
- formatting
- line-breaks
- multiline
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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)Similar npm Prettier plugins plugins
All 20 @belt/prettier-plugin alternativesData 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/@belt/prettier-plugin. First seen Oct 16, 2026; last successful collection Oct 23, 2026. See the methodology.