vite-plugin-singlefile

Vite plugin for inlining all JavaScript and CSS resources

npm says / week

npm says 4,106,042

real installs / week

≈ 4.1M–4.11M

high confidence

noise under 1% of npm's count, so filtering barely changes it.

Mirror spikes and crawlers removed. CI and dependency installs still count, so this is not a head count. Snapshot from the daily build of Nov 21, 2026, last 7 days of npm data. With JavaScript on, this page recomputes it live from the npm API.

How many people use vite-plugin-singlefile?

npm counted 4,106,042 downloads of vite-plugin-singlefile in the last 7 days. Nobody can count people exactly, npm included: it does not record who downloaded what. After removing mirror spikes and crawlers, about 4.1M–4.11M look like real installs. At this scale most of them come from CI, builds and other packages that depend on vite-plugin-singlefile, so the number of people behind them is far smaller.

Is vite-plugin-singlefile still maintained?

Most likely yes, going by its releases. The latest version, 2.3.4, came out on Oct 17, 2026. The last 12 months saw 4 stable releases, typically 108 days apart. It was first published on Jan 9, 2021. npm lists 1 maintainer.

Is vite-plugin-singlefile still used?

Downloads with publish spikes removed are up 82% over 3 months and up 1,976% over 11 months. For scale, the median of the 582 packages we track, which lean towards today's most downloaded, is up 184% over 11 months, so this one is ahead of that. Last week, 98% of downloads above the crawler floor were on major version 2, the latest one; the most used single version was 2.3.3, with 48%. Weekdays get 1.6× the downloads of weekends, which fits people at work, though CI follows the same rhythm. Crawlers account for about 126 downloads a week, roughly 3 per version.

Monthly downloads of vite-plugin-singlefile

The busiest month was Sep 2026, with about 386,749 downloads a day once publish spikes are removed; the quietest was Dec 2025 (the holiday season), with about 23,334.

monthnpm downloadspublish spikes removedreal installsvs month before
Oct 2026 9,565,559 0 9.56M–9.57M about flat
Sep 2026 11,215,720 0 11.2M up 51%
Aug 2026 7,941,337 0 7.93M–7.94M about flat
Jul 2026 8,010,696 0 8M–8.01M up 29%
Jun 2026 6,011,890 0 6.01M up 13%
May 2026 5,482,468 0 5.48M up 20%
Apr 2026 4,421,546 0 4.42M up 26%
Mar 2026 3,628,478 0 3.62M–3.63M up 10%
Feb 2026 2,975,529 0 2.97M–2.98M up 207%
Jan 2026 1,074,352 0 1.07M up 49%
Dec 2025 723,354 0 723K —

Whole months through Oct 31, 2026. Publish spikes are found day by day and summed per month. Real installs apply this week's crawler share to each month's downloads (the upper end also keeps the removed spikes), so they follow npm's curve rather than measure it. The change compares spike-free downloads per day.

How the estimate works

  1. Cut the spike every new version gets from mirrors and scanners in its first days.
  2. Subtract the crawler floor: the flat count crawlers download from every version each week.
  3. Show what is left as a range, with a confidence level. It still includes CI and dependency installs, so it is not a count of people.

Read the methodology