Skip to content
PluginStats

@pebrianz/prettier-plugin-void-html weekly downloads statistics

By pebrianz · npm · Prettier plugins

Prettier plugin to print void HTML elements without self-closing syntax

View on npm Stale · Oct 18, 2026

@pebrianz/prettier-plugin-void-html has 1 recorded weekly downloads on npm, a change of 0.0% over the past 7 days, ranking #2337 of 2,391 tracked listings.

Weekly downloads
1
Official API · Oct 18, 2026
7-day growth
0.0%
0 weekly downloads
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#2337
Among tracked npm listings

About @pebrianz/prettier-plugin-void-html

prettier-plugin-void-html

This is a Prettier plugin to format void HTML elements using the void tag syntax instead of self-closing syntax. Additionally, if self-closing syntax is used on non-void elements, then they will be "unwrapped" so that both the opening and closing tags are present.

Usage

Install this package from NPM using your favorite package manager:

  • npm
    npm install -D @pebrianz/prettier-plugin-void-html
    
  • yarn
    yarn add -D @pebrianz/prettier-plugin-void-html
    
  • pnpm
    pnpm add -D @pebrianz/prettier-plugin-void-html
    

Add the plugin to your Prettier config file.

{
  "plugins": ["@pebrianz/prettier-plugin-void-html"]
}

Then your HTML should format like so:

<!-- prettier-ignore-start -->
<!-- source -->
<meta charset="UTF-8">
<label for="my-input">Type something</label>
<input id="my-input" type="text" name="my-input">
<div />

<!-- Prettier default formatting -->
<meta charset="UTF-8" />
<label for="my-input">Type something</label>
<input id="my-input" type="text" name="my-input" />
<div />

<!-- Prettier + this plugin -->
<meta charset="UTF-8">
<label for="my-input">Type something</label>
<input id="my-input" type="text" name="my-input">
<div></div>
<!-- prettier-ignore-end -->

Compatibility

Languages

This project currently supports HTML, only. Support for other languages such as Svelte or Vue requires using an entirely different parser and is currently outside the scope of this plugin.

If you want the features provided by this package in another language, I recommend submitting feedback to the other projects that handle formatting those languages.

Void elements

https://developer.mozilla.org/en-US/docs/Glossary/Void_element

  • area
  • base
  • br
  • col
  • embed
  • hr
  • img
  • input
  • link
  • meta
  • param
  • source
  • track
  • wbr

prettier-plugin-void-html

Description from the npm listing.

  • prettier
  • prettier-plugin
  • html
  • void

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

@pebrianz/prettier-plugin-void-html weekly downloads on npm, last 90 days: 1 weekly downloads as of Oct 18, 2026.@pebrianz/prettier-plugin-void-htmlWeekly downloads on npm · Last 90 days1downloads / week01234Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 23, 2026 – Oct 18, 2026 · 88 observations · Updated Oc…pluginstats.com
@pebrianz/prettier-plugin-void-html weekly downloads on npm, last 90 days: 1 weekly downloads as of Oct 18, 2026.

7/30/90-day growth

@pebrianz/prettier-plugin-void-html weekly downloads growth on npm: 0.0% over 7 days, 30-day growth unavailable, 90-day growth unavailable.@pebrianz/prettier-plugin-void-htmlWeekly downloads growth on npm1downloads / week now7-day growth+0 weekly downloads0.0%30-day growth+1 weekly downloadsInsufficient history90-day growth+1 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
@pebrianz/prettier-plugin-void-html weekly downloads growth on npm: 0.0% over 7 days, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

@pebrianz/prettier-plugin-void-html npm ranking history: currently #2337 (by weekly downloads).@pebrianz/prettier-plugin-void-htmlnpm ranking · by weekly downloads · Last 90 days#2337current rank#600#800#1000#1200#1400#1600#1800#2000#2200#2400Jul 23Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21rankOct 17, 2026 – Oct 21, 2026 · 5 observations · Updated Oct 18, 2026pluginstats.com
@pebrianz/prettier-plugin-void-html npm ranking history: currently #2337 (by weekly downloads).

Listing placement

All npm2,389 listings · 120 pages · 1,196 shown · page 119, #18 (overall #2,378)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins244 listings · 13 pages · page 12, #18 (overall #238)
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 (544)
Recent weekly downloads observations for @pebrianz/prettier-plugin-void-html
Date (UTC)Weekly downloadsChange vs. previous
10
10
1+1
00
00
00
0-1
10
10
10
10
10
10
1—

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/@pebrianz/prettier-plugin-void-html. First seen Oct 16, 2026; last successful collection Oct 21, 2026. See the methodology.