Skip to content
PluginStats

prettier-plugin-multiline-arrays-2 weekly downloads statistics

By Nick2bad4u (2 listings) · npm · Prettier plugins

Prettier plugin to force array elements to wrap onto new lines.

View on npm Fresh · Oct 17, 2026

prettier-plugin-multiline-arrays-2 has 66 recorded weekly downloads on npm, a decrease of 73.8% over the past 30 days.

It ranks #1708 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -95.6%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
66
Official API · Oct 17, 2026
7-day growth
-83.5%
-335 weekly downloads
30-day growth
-73.8%
-186 weekly downloads
90-day growth
-95.6%
-1.4K weekly downloads
Rank
#1708
Among tracked npm listings

About prettier-plugin-multiline-arrays-2

prettier-plugin-multiline-arrays-2

Prettier plugin to force array elements to wrap onto new lines, even when there is only one element. It supports TypeScript, JavaScript, JSON, and JSON5, with options for array wrap thresholds, per-line element patterns, and opt-in TypeScript union wrapping.

[!NOTE] This is a maintained fork of electrovir/prettier-plugin-multiline-arrays. Credit to the original plugin for the core idea and implementation.

Install

Add the plugin to your Prettier config:

When combining this plugin with parser/preprocessor plugins such as prettier-plugin-organize-imports, put prettier-plugin-multiline-arrays-2 last. Prettier 3.9 selects the last plugin-provided parser for a parser name, and this plugin needs its parser wrapper to run so it can delegate to companion preprocessors and then apply multiline array printing.

Options

• multilineArraysWrapThreshold: number. Arrays with more elements than this value are forced to wrap. The default is -1, which disables automatic threshold wrapping. • multilineArraysLinePattern: string. Space- or comma-separated list of numbers controlling the element count per line. The pattern repeats for longer arrays. The default is "1". • multilineTypeUnionsWrapThreshold: number. TypeScript union types with more members than this value are forced to wrap with one member per line. The default is -1, which disables union wrapping.

Example:

Comment Overrides

Use comments to override the next array:

Use set comments to affect later arrays in a file:

Use prettier-multiline-arrays-reset to return to the configured defaults.

Comment overrides only apply to array formatting. TypeScript union wrapping is controlled by multilineTypeUnionsWrapThreshold.

Precedence

1. Comment overrides. 2. Manual wrapping from leading new lines or trailing commas. 3. Prettier options. 4. Default behavior.

Development

The test suite runs with Vitest coverage. Release verification also packs the plugin and tests it in isolated consumer projects against both the exact minimum supported Prettier version and the newest published version allowed by the peer range.

Description from the npm listing.

  • array
  • format
  • multiline
  • prettier
  • prettier-plugin
  • printer

Where prettier-plugin-multiline-arrays-2 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.

All npm2,248 listings · 113 pages · page 86, #9 (overall #1709)
All npm: every listing in weekly downloads order
PNG SVG
Prettier plugins241 listings · 13 pages · page 4, #7 (overall #67)
Prettier plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

prettier-plugin-multiline-arrays-2 weekly downloads on npm, last 90 days: 66 weekly downloads as of Oct 17, 2026, -95.6% over 90 days.prettier-plugin-multiline-arrays-2Weekly downloads on npm · Last 90 days66downloads / week-95.6% over 90 days02004006008001K1.2K1.4K1.6KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
prettier-plugin-multiline-arrays-2 weekly downloads on npm, last 90 days: 66 weekly downloads as of Oct 17, 2026, -95.6% over 90 days.
PNG SVG

7/30/90-day growth

prettier-plugin-multiline-arrays-2 weekly downloads growth on npm: -83.5% over 7 days, -73.8% over 30 days, -95.6% over 90 days.prettier-plugin-multiline-arrays-2Weekly downloads growth on npm66downloads / week now7-day growth-335 weekly downloads-83.5%30-day growth-186 weekly downloads-73.8%90-day growth-1,443 weekly downloads-95.6%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
prettier-plugin-multiline-arrays-2 weekly downloads growth on npm: -83.5% over 7 days, -73.8% over 30 days, -95.6% over 90 days.
PNG SVG

Ranking history

prettier-plugin-multiline-arrays-2 npm ranking history: currently #1708 (by weekly downloads).prettier-plugin-multiline-arrays-2npm ranking · by weekly downloads · Last 90 days#1708current rank#1706#1707#1708#1709#1710Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
prettier-plugin-multiline-arrays-2 npm ranking history: currently #1708 (by weekly downloads).
PNG SVG

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)
Recent weekly downloads observations for prettier-plugin-multiline-arrays-2
Date (UTC)Weekly downloadsChange vs. previous
66-213
279-17
296-28
324-42
3660
366+19
347-54
401+177
224-54
278-21
299-92
391-249
640-10
650—

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-multiline-arrays-2. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.