Skip to content
PluginStats

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

By crisvp · npm · Prettier plugins

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

View on npm Fresh · Dec 6, 2026

@crisvp/prettier-plugin-void-html has 14 recorded weekly downloads on npm, a decrease of 50.0% over the past 30 days, ranking #3064 of 3,247 tracked listings.

Weekly downloads
14
Official API · Dec 5, 2026
7-day growth
+100%
+7 weekly downloads
30-day growth
-50.0%
-14 weekly downloads
90-day growth
+55.6%
+5 weekly downloads
Rank
#3064
▼ 40 in 7 days

About @crisvp/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 @crisvp/prettier-plugin-void-html
    
  • yarn
    yarn add -D @crisvp/prettier-plugin-void-html
    
  • pnpm
    pnpm add -D @crisvp/prettier-plugin-void-html
    

Add the plugin to your Prettier config file.

{
  "plugins": ["@crisvp/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

Prettier

This package is tested against the following versions of Prettier (see test.js for details):

  • v3.0.0
  • v3.0.1
  • v3.0.2
  • v3.0.3
  • v3.1.0
  • v3.1.1
  • v3.2.0
  • v3.2.1
  • v3.2.2

Note that the peerDependencies of this package allow installing newer patch versions of Prettier that may not be included in this list. This is for pragmatic reasons so that you can upgrade patched releases of Prettier without waiting for this package to update.

However, please note this disclaimer from the Prettier installation page:

Install an exact version of Prettier locally in your project. This makes sure that everyone in the project gets the exact same version of Prettier. Even a patch release of Prettier can result in slightly different formatting, so you wouldn’t want different team members using different versions and formatting each other’s changes back and forth.

If you wish to use a version of Prettier that is not supported by this package, then you will need to add an overrides rule. For example, to use an older version of Prettier:

{
  "overrides": {
    "@crisvp/prettier-plugin-void-html": {
      "prettier": ">=2.8.8"
    }
  }
}

If you do this, please consider contributing to prettier-plugin-void-html by adding tests for that version or opening an issue. I am happy to expand support, but I also need to be pragmatic of my time.

Languages
  • html
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

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

@crisvp/prettier-plugin-void-html weekly downloads on npm, last 90 days: 14 weekly downloads as of Dec 5, 2026, +55.6% over 90 days.@crisvp/prettier-plugin-void-htmlWeekly downloads on npm · Last 90 days14downloads / week+55.6% over 90 days01020304050Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@crisvp/prettier-plugin-void-html weekly downloads on npm, last 90 days: 14 weekly downloads as of Dec 5, 2026, +55.6% over 90 days.

7/30/90-day growth

@crisvp/prettier-plugin-void-html weekly downloads growth on npm: +100% over 7 days, -50.0% over 30 days, +55.6% over 90 days.@crisvp/prettier-plugin-void-htmlWeekly downloads growth on npm14downloads / week now7-day growth+7 weekly downloads+100%30-day growth-14 weekly downloads-50.0%90-day growth+5 weekly downloads+55.6%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@crisvp/prettier-plugin-void-html weekly downloads growth on npm: +100% over 7 days, -50.0% over 30 days, +55.6% over 90 days.

Ranking history

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

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 154, #6 (overall #3,066)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins267 listings · 14 pages · page 11, #3 (overall #203)
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 @crisvp/prettier-plugin-void-html
Date (UTC)Weekly downloadsChange vs. previous
14+2
120
120
12+3
9+1
8-1
9+2
7-5
12-2
14-1
150
15+1
14-2
16—

Similar npm Prettier plugins plugins

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