Skip to content
PluginStats

vite-plugin-html-inject weekly downloads statistics

By donnikitos · npm · Vite plugins

Split your index.html into multiple files and inject them where ever you want!

View on npm Fresh · Oct 17, 2026

vite-plugin-html-inject has 5,861 recorded weekly downloads on npm, a decrease of 42.8% over the past 30 days.

It ranks #1046 of 2,256 tracked npm listings by weekly downloads.

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

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

Weekly downloads
5,861
Official API · Oct 17, 2026
7-day growth
-59.7%
-8.7K weekly downloads
30-day growth
-42.8%
-4.4K weekly downloads
90-day growth
-16.9%
-1.2K weekly downloads
Rank
#1046
Among tracked npm listings

About vite-plugin-html-inject

vite-plugin-html-inject

Split your index.html into smaller, reusable static HTML pieces.

Load those sweet separate HTML files

Pass down static arguments to injected HTML parts

The plugin also allows you to supply your HTML parts with some basic arguments, so you can reuse the same piece of code in multiple places.

For example you can reuse a similarly styled link somewhere in your index.html:

And that src/some-static-link.htm:

This will result in a dev and runtime generated index.html looking like

Customization

You are able to customize the loader tag name and the source attribute name.\ For example a configuration like:

will replace:

Debugging

By default the debugging option is turned off. However, if you encounter issues loading files, you can turn on path logging.

Support

Love open source? Enjoying my project?\ Your support can keep the momentum going! Consider a donation to fuel the creation of more innovative open source software.

| via Ko-Fi | Buy me a coffee | via PayPal |

| | | |

Description from the npm listing.

  • vite
  • vite-plugin
  • load html
  • split html
  • inject html
  • html
  • html-loader
  • loader

Where vite-plugin-html-inject 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,256 listings · 113 pages · page 53, #6 (overall #1046)
All npm: every listing in weekly downloads order
PNG SVG
Vite plugins250 listings · 13 pages · page 10, #2 (overall #182)
Vite plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

vite-plugin-html-inject weekly downloads on npm, last 90 days: 5,861 weekly downloads as of Oct 17, 2026, -16.9% over 90 days.vite-plugin-html-injectWeekly downloads on npm · Last 90 days5,861downloads / week-16.9% over 90 days02K4K6K8K10K12K14K16KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 21, 2026 – Oct 17, 2026 · 89 observations · Updated Oc…pluginstats.com
vite-plugin-html-inject weekly downloads on npm, last 90 days: 5,861 weekly downloads as of Oct 17, 2026, -16.9% over 90 days.
PNG SVG

7/30/90-day growth

vite-plugin-html-inject weekly downloads growth on npm: -59.7% over 7 days, -42.8% over 30 days, -16.9% over 90 days.vite-plugin-html-injectWeekly downloads growth on npm5,861downloads / week now7-day growth-8,693 weekly downloads-59.7%30-day growth-4,383 weekly downloads-42.8%90-day growth-1,192 weekly downloads-16.9%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
vite-plugin-html-inject weekly downloads growth on npm: -59.7% over 7 days, -42.8% over 30 days, -16.9% over 90 days.
PNG SVG

Ranking history

vite-plugin-html-inject npm ranking history: currently #1046 (by weekly downloads).vite-plugin-html-injectnpm ranking · by weekly downloads · Last 90 days#1046current rank#400#500#600#700#800#900#1000#1100Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 17, 2026 – Oct 19, 2026 · 3 observations · Updated Oct 17, 2026pluginstats.com
vite-plugin-html-inject npm ranking history: currently #1046 (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-html-inject
Date (UTC)Weekly downloadsChange vs. previous
5,861-993
6,854-32
6,886-4K
10,857-4.4K
15,2960
15,296+754
14,542-12
14,554-136
14,690-151
14,841+1.3K
13,590+1.9K
11,693-2.5K
14,157-4
14,161—

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-html-inject. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.