Skip to content
PluginStats

vite-plugin-generate-file weekly downloads statistics

By sumy7 · npm · Vite plugins

Generate extra file to dist folder.

View on npm Fresh · Oct 17, 2026

vite-plugin-generate-file has 19,690 recorded weekly downloads on npm, a decrease of 33.7% over the past 30 days.

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

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

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

Weekly downloads
19,690
Official API · Oct 17, 2026
7-day growth
-30.7%
-8.7K weekly downloads
30-day growth
-33.7%
-10K weekly downloads
90-day growth
-46.7%
-17.3K weekly downloads
Rank
#760
Among tracked npm listings

About vite-plugin-generate-file

vite-plugin-generate-file

vite-plugin-generate-file is a vite plugin which generate static file and write them to dist folder after packaging.

Usage

Install dev dependency :

Since vite-plugin-generate-file@v0.1.0, Vite v3.1 or above is required.

Add plugin to your vite.config.ts :

Here are the available options for configuration:

| Name | Description | Options | Defaults |

| type | Specifies the format type of the generated file. | json yaml template raw | json | | output | Defines the path to the output file that the plugin will generate. This path is relative to the dist folder. | - | ./output.txt | | template | Specifies the path to the template file. Supports ejs format template. This option is available when type is set to template. | - | - | | data | Specifies the data to be used in the generated file or to be passed into the template. | - | - | | contentType | Defines the Content-Type response returned from the dev server. If left empty, it will be inferred from the output path extension. | - | - |

In dev mode, plugin will mock file by dev server. See localhost:5173/__generate_file_list/ for more detail.

Credits

This plugin was inspired by Alicevia/vite-plugin-generate-config-into-dist and antfu/vite-plugin-inspect

License

MIT

Description from the npm listing.

  • vite
  • vue
  • plugin
  • generate
  • vite-plugin

Where vite-plugin-generate-file 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 38, #20 (overall #760)
All npm: every listing in weekly downloads order
PNG SVG
Vite plugins250 listings · 13 pages · page 7, #5 (overall #125)
Vite plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

vite-plugin-generate-file weekly downloads on npm, last 90 days: 19,690 weekly downloads as of Oct 17, 2026, -46.7% over 90 days.vite-plugin-generate-fileWeekly downloads on npm · Last 90 days19,690downloads / week-46.7% over 90 days010K20K30K40K50K60KJul 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-generate-file weekly downloads on npm, last 90 days: 19,690 weekly downloads as of Oct 17, 2026, -46.7% over 90 days.
PNG SVG

7/30/90-day growth

vite-plugin-generate-file weekly downloads growth on npm: -30.7% over 7 days, -33.7% over 30 days, -46.7% over 90 days.vite-plugin-generate-fileWeekly downloads growth on npm19,690downloads / week now7-day growth-8,717 weekly downloads-30.7%30-day growth-10,029 weekly downloads-33.7%90-day growth-17,265 weekly downloads-46.7%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
vite-plugin-generate-file weekly downloads growth on npm: -30.7% over 7 days, -33.7% over 30 days, -46.7% over 90 days.
PNG SVG

Ranking history

vite-plugin-generate-file npm ranking history: currently #760 (by weekly downloads).vite-plugin-generate-filenpm ranking · by weekly downloads · Last 90 days#760current rank#200#300#400#500#600#700#800Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 17, 2026 – Oct 18, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
vite-plugin-generate-file npm ranking history: currently #760 (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 (543)
Recent weekly downloads observations for vite-plugin-generate-file
Date (UTC)Weekly downloadsChange vs. previous
19,690-1.9K
21,566+397
21,169-8.4K
29,580-8.1K
37,6930
37,693+9.6K
28,110-297
28,407-408
28,815-876
29,691-1K
30,700-1.7K
32,393-8.6K
40,944-10.4K
51,322—

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-generate-file. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.