Skip to content
PluginStats

@unfunco/prettier-plugin-yaml weekly downloads statistics

By unfunco · npm · Prettier plugins

YAML plugin for Prettier that avoids indentation of sequence values.

View on npm Fresh · Dec 6, 2026

@unfunco/prettier-plugin-yaml has 43 recorded weekly downloads on npm, an increase of 231% over the past 30 days, ranking #2806 of 3,247 tracked listings.

Weekly downloads
43
Official API · Dec 5, 2026
7-day growth
-21.8%
-12 weekly downloads
30-day growth
+231%
+30 weekly downloads
90-day growth
+65.4%
+17 weekly downloads
Rank
#2806
▼ 211 in 7 days

About @unfunco/prettier-plugin-yaml

YAML plugin for Prettier

CI License: MIT

[!WARNING] 🤖 This is pretty much entirely vibe-coded with Copilot.

Yet another YAML plugin for Prettier. I got so attached to the way JetBrains IDEs format YAML that I couldn't bear to look at anything else. Indented sequence values? No fucking thanks.

I've only implemented enough to get the formatting I want, and by "I've", I mean I asked Copilot to do it. It runs before commits, so the stakes are low. It does what I want.

Install

npm install --save-dev prettier @unfunco/prettier-plugin-yaml

It needs Prettier 3 and Node.js 24 or later.

Usage

Add the plugin to your Prettier configuration. Set whichever options differ from the defaults:

{
  "plugins": ["@unfunco/prettier-plugin-yaml"],
  "yamlAlignValuesProperties": "on_value",
  "yamlBlockMappingOnNewLine": false,
  "yamlIndentSequenceValue": false,
  "yamlLineCommentAddSpaceOnReformat": false,
  "yamlSequenceOnNewLine": false,
  "yamlSpaceBeforeColon": false,
  "yamlSpacesWithinBraces": true,
  "yamlSpacesWithinBrackets": true
}
JetBrains EditorConfig propertyPrettier pluginDefault
ij_yaml_align_values_propertiesyamlAlignValuesPropertiesdo_not_align
ij_yaml_autoinsert_sequence_markerNot applicabletrue
ij_yaml_block_mapping_on_new_lineyamlBlockMappingOnNewLinefalse
ij_yaml_indent_sequence_valueyamlIndentSequenceValuefalse
ij_yaml_indent_sizetabWidth2
ij_yaml_keep_indents_on_empty_linesNot applicablefalse
ij_yaml_keep_line_breaksyamlKeepLineBreakstrue
ij_yaml_line_comment_add_spaceNot applicablefalse
ij_yaml_line_comment_add_space_on_reformatyamlLineCommentAddSpaceOnReformatfalse
ij_yaml_line_comment_at_first_columnNot applicabletrue
ij_yaml_sequence_on_new_lineyamlSequenceOnNewLinefalse
ij_yaml_space_before_colonyamlSpaceBeforeColonfalse
ij_yaml_spaces_within_bracesyamlSpacesWithinBracestrue
ij_yaml_spaces_within_bracketsyamlSpacesWithinBracketstrue

ij_yaml_indent_size maps to Prettier's standard tabWidth option, which defaults to 2. No YAML-specific option is needed.

ij_yaml_autoinsert_sequence_marker controls whether JetBrains adds a hyphen when you press Enter for the next sequence item. That's typing behaviour, not formatting, so there is no Prettier option for it.

ij_yaml_keep_indents_on_empty_lines controls whitespace on otherwise empty lines. Prettier removes trailing whitespace from blank lines, and the plugin shouldn't put it back. There is no Prettier option for it.

ij_yaml_line_comment_add_space controls whether JetBrains adds a space after the comment marker when you comment or uncomment a line. That's editor behaviour, not formatter behaviour, so there is no Prettier option for it. Reformat-time comment spacing is controlled separately by ij_yaml_line_comment_add_space_on_reformat.

ij_yaml_line_comment_at_first_column controls whether JetBrains puts the comment marker in column one or at the code indentation. Prettier structurally indents existing YAML comments instead, so there is no Prettier option for it.

Options

yamlAlignValuesProperties

Controls how sibling block-mapping properties align:

  • do_not_align (default) uses normal YAML spacing.
  • on_colon aligns mapping colons.
  • on_value aligns the start of scalar values.

Keys are measured as they're printed, so quotes, anchors, and tags count. A key that isn't followed by its colon on the same line, such as an explicit ? key, is left out of the alignment.

yamlBlockMappingOnNewLine

Controls whether a block mapping used as a sequence item starts on the line after the sequence marker. The default is false.

yamlIndentSequenceValue

Controls whether a block sequence is indented under the mapping key it belongs to. The default is false, which is the whole reason this plugin exists:

key:
  - one
  - two

Set it to true for Prettier's usual output:

key:
  - one
  - two
yamlSequenceOnNewLine

Controls whether a block sequence used as a sequence item starts on the line after the parent sequence marker. The default is false.

yamlKeepLineBreaks

Preserves a source line break before a simple plain or quoted scalar mapping value, including nested mappings and mappings in sequences. It also preserves the equivalent break before a simple scalar sequence item. The default is true; set it to false to let Prettier collapse them.

This option does not retain source indentation, trailing whitespace, or arbitrary collection layout. Scalar continuation wrapping, comments, and block scalars use Prettier's normal YAML handling. printWidth still decides when lines wrap.

yamlLineCommentAddSpaceOnReformat

Adds one space after # when a standalone or inline YAML comment starts right after the marker. The default is false, which leaves Prettier's current comment text alone.…

Description from the npm listing.

  • prettier
  • prettier-plugin
  • sequence
  • yaml

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

@unfunco/prettier-plugin-yaml weekly downloads on npm, last 90 days: 43 weekly downloads as of Dec 5, 2026, +65.4% over 90 days.@unfunco/prettier-plugin-yamlWeekly downloads on npm · Last 90 days43downloads / week+65.4% over 90 days050100150200250300Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@unfunco/prettier-plugin-yaml weekly downloads on npm, last 90 days: 43 weekly downloads as of Dec 5, 2026, +65.4% over 90 days.

7/30/90-day growth

@unfunco/prettier-plugin-yaml weekly downloads growth on npm: -21.8% over 7 days, +231% over 30 days, +65.4% over 90 days.@unfunco/prettier-plugin-yamlWeekly downloads growth on npm43downloads / week now7-day growth-12 weekly downloads-21.8%30-day growth+30 weekly downloads+231%90-day growth+17 weekly downloads+65.4%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@unfunco/prettier-plugin-yaml weekly downloads growth on npm: -21.8% over 7 days, +231% over 30 days, +65.4% over 90 days.

Ranking history

@unfunco/prettier-plugin-yaml npm ranking history: currently #2806 (by weekly downloads).@unfunco/prettier-plugin-yamlnpm ranking · by weekly downloads · Last 90 days#2806current rank#500#1000#1500#2000#2500#3000Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
@unfunco/prettier-plugin-yaml npm ranking history: currently #2806 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 141, #7 (overall #2,807)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins267 listings · 14 pages · page 7, #3 (overall #123)
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 (592)
Recent weekly downloads observations for @unfunco/prettier-plugin-yaml
Date (UTC)Weekly downloadsChange vs. previous
43+16
27-12
39-16
55-1
56+7
49+6
43-12
55-4
59+9
50+12
38-2
40-3
43-3
46—

Similar npm Prettier plugins plugins

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