vite-plugin-mkcert weekly downloads statistics
By liuweiGL · npm · Vite plugins
Provide certificates for vite's https dev service
vite-plugin-mkcert has 318,117 recorded weekly downloads on npm, a decrease of 46.7% over the past 30 days.
It ranks #292 of 2,256 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -46.6%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About vite-plugin-mkcert
中文文档
vite-plugin-mkcert
Use mkcert to provide certificate support for vite https development services.
When should I use this plugin
1. When you want to use http/2 to solve the concurrency limit of vite http dev server requests, you find that the browser cache is invalid #2725. 2. I have obsessive-compulsive disorder, and I hope that the browser will not show annoying https certificate errors.
Effect
View
Quick start
Requirements
• Node.js >= 22.19.0
1. Installation dependencies
2. Configure vite
Parameters
hosts
Custom hosts, default value is localhost + local ip addrs.
force
Whether to force generate.
autoUpgrade
Whether to automatically upgrade mkcert.
source
Specify the download source of mkcert, domestic users can set it to coding to download from the coding.net mirror, or provide a custom BaseSource.
mkcertPath
If the network is restricted, you can specify a local mkcert file instead of downloading from the network.
proxy
Proxy URL used when downloading the mkcert binary.
Example: http://127.0.0.1:7890
If not provided, it will fallback to environment variables: HTTPS_PROXY, https_proxy, HTTP_PROXY, http_proxy.
savePath
The location to save the files, such as the downloaded mkcert program and the generated CA file, private key and certificate file, etc. Default value is PLUGIN_DATA_DIR
keyFileName
The name of private key file generated by mkcert
certFileName
The name of cert file generated by mkcert
Mobile devices
For the certificates to be trusted on mobile devices, you will have to install the root CA. It's the rootCA.pem file in the folder printed by mkcert -CAROOT.
On iOS, you can either use AirDrop, email the CA to yourself, or serve it from an HTTP server. After opening it, you need to install the profile in Settings > Profile Downloaded and then enable full trust in it.
For Android, you will have to install the CA and then enable user roots in the development build of your app. See this StackOverflow answer.
Display the debugging information of the plug-in
Set the environment variable DEBUG=vite:plugin:mkcert
CHANGELOG
CHANGELOG
Principle
Use mkcert to install the local CA certificate and generate it for server.https Server certificate.
Friendly reminder
1. Uninstall the CA certificate: mkcert -uninstall
Thanks
• mkcert • daquinoaldo/https-localhost
Description from the npm listing.
- vite-plugin
- certificate
- https
- mkcert
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
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.
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.
Recent observations
Full history (121)Similar npm Vite plugins plugins
All 20 vite-plugin-mkcert alternativesData 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-mkcert. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.