vite-plugin-generate-file weekly downloads statistics
By sumy7 · npm · Vite plugins
Generate extra file to dist folder.
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.
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.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
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)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.