Skip to content
PluginStats

vite-plugin-simple-html weekly downloads statistics

By wojtekmaj (2 listings) · npm · Vite plugins

Vite plugin for HTML processing and minification

View on npm Fresh · Oct 17, 2026

vite-plugin-simple-html has 10,354 recorded weekly downloads on npm, a decrease of 34.2% over the past 30 days.

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

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

PluginStats has 542 daily observations since Apr 24, 2025; the latest is from Oct 17, 2026.

Weekly downloads
10,354
Official API · Oct 17, 2026
7-day growth
-53.1%
-11.7K weekly downloads
30-day growth
-34.2%
-5.4K weekly downloads
90-day growth
-29.7%
-4.4K weekly downloads
Rank
#899
Among tracked npm listings

About vite-plugin-simple-html

vite-plugin-simple-html

Vite plugin for HTML processing and minification. "Lite" version of vite-plugin-html, supporting a subset of its features.

tl;dr

• Install by executing npm install vite-plugin-simple-html or yarn add vite-plugin-simple-html. • Import by adding import simpleHtmlPlugin from 'vite-plugin-simple-html'. • Use it by adding simpleHtmlPlugin() to plugins section of your Vite config.

Usage

Here's an example of basic configuration:

User guide

Minification

Minification is handled by @swc/html.

To minify your HTML files, set minify to true:

The default configuration in this case is:

You can access that configuration by importing defaultMinifyOptions from the plugin:

[!NOTE] The default configuration is designed for compatibility with vite-plugin-html. For more aggressive minification, consider adjusting the settings to better suit your needs.

If you want to customize the minification process, for example to minify JS, you can pass your own configuration object:

For a full list of available options, refer to @swc/html documentation.

EJS variables support

You can inject variables into your HTML files using EJS syntax.

Tag injection

You can inject tags into your HTML files.

By default, they are injected at the end of the section of your HTML file. You can change that behavior by setting injectTo:

• head: Injects tags at the end of the section of your HTML file (default). • head-prepend: Injects tags at the beginning of the section of your HTML file. • body: Injects tags at the end of the section of your HTML file. • body-prepend: Injects tags at the beginning of the section of your HTML file.

Detailed comparison with vite-plugin-html

| Feature | vite-plugin-simple-html | vite-plugin-html |

| EJS support | ⚠️ Variables only | ✅ | | HTML tags injection | ✅ | ✅ | | HTML/CSS/JS minification | ✅ | ✅ | | JSON minification | ✅ | ❌ | | entry script injection | ❌ | ✅ | | template customization | ❌ | ✅ | | multi-page support | ❌ | ✅ |

Why bother?

• vite-plugin-simple-html has considerably fewer dependencies. Compare: • vite-plugin-html dependency graph • vite-plugin-simple-html dependency graph • vite-plugin-simple-html does not suffer from issue that breaks Vite proxy (which was the reason I created this plugin in the first place). • vite-plugin-simple-html does not use options deprecated in Vite 5, and thus does not produce deprecation warnings:

License

The MIT License.

Author

Wojciech Maj

Description from the npm listing.

  • vite
  • vite-plugin
  • plugin
  • html

Where vite-plugin-simple-html 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 45, #19 (overall #899)
All npm: every listing in weekly downloads order
PNG SVG
Vite plugins250 listings · 13 pages · page 8, #12 (overall #152)
Vite plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

vite-plugin-simple-html weekly downloads on npm, last 90 days: 10,354 weekly downloads as of Oct 17, 2026, -29.7% over 90 days.vite-plugin-simple-htmlWeekly downloads on npm · Last 90 days10,354downloads / week-29.7% over 90 days05K10K15K20K25K30KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
vite-plugin-simple-html weekly downloads on npm, last 90 days: 10,354 weekly downloads as of Oct 17, 2026, -29.7% over 90 days.
PNG SVG

7/30/90-day growth

vite-plugin-simple-html weekly downloads growth on npm: -53.1% over 7 days, -34.2% over 30 days, -29.7% over 90 days.vite-plugin-simple-htmlWeekly downloads growth on npm10,354downloads / week now7-day growth-11,728 weekly downloads-53.1%30-day growth-5,373 weekly downloads-34.2%90-day growth-4,372 weekly downloads-29.7%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
vite-plugin-simple-html weekly downloads growth on npm: -53.1% over 7 days, -34.2% over 30 days, -29.7% over 90 days.
PNG SVG

Ranking history

vite-plugin-simple-html npm ranking history: currently #899 (by weekly downloads).vite-plugin-simple-htmlnpm ranking · by weekly downloads · Last 90 days#899current rank#300#400#500#600#700#800#900#1000Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 17, 2026 – Oct 18, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
vite-plugin-simple-html npm ranking history: currently #899 (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 (542)
Recent weekly downloads observations for vite-plugin-simple-html
Date (UTC)Weekly downloadsChange vs. previous
10,354-1.3K
11,631-515
12,146-5.4K
17,556-5.2K
22,7060
22,706+724
21,982-100
22,082-295
22,377+429
21,948+254
21,694-89
21,783-5.8K
27,613-568
28,181—

Similar npm Vite 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/vite-plugin-simple-html. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.