Skip to content
PluginStats

vite-plugin-mkcert weekly downloads statistics

By liuweiGL · npm · Vite plugins

Provide certificates for vite's https dev service

View on npm Fresh · Dec 6, 2026

vite-plugin-mkcert has 961,928 recorded weekly downloads on npm, an increase of 12.4% over the past 30 days, ranking #296 of 3,247 tracked listings.

Weekly downloads
961,928
Official API · Dec 5, 2026
7-day growth
+13.6%
+115.3K weekly downloads
30-day growth
+12.4%
+106.5K weekly downloads
90-day growth
+64.7%
+378K weekly downloads
Rank
#296
▲ 2 in 7 days

About vite-plugin-mkcert

中文文档

vite-plugin-mkcert

Vite compatibility

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

<details> <summary>View</summary>

localhost

127.0.0.1

localhost

</details>

Quick start

Requirements
  • Node.js >= 22.19.0
  1. Installation dependencies
yarn add vite-plugin-mkcert -D
  1. Configure vite
import {defineConfig} from 'vite'
import mkcert from 'vite-plugin-mkcert'

// https://vitejs.dev/config/
export default defineConfig({
  server: {
    https: true
  }, // Not needed for Vite 5+ (simply omit this option)
  plugins: [mkcert()]
})

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

Description from the npm listing.

  • vite-plugin
  • certificate
  • https
  • mkcert

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

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

Adoption over time

vite-plugin-mkcert weekly downloads on npm, last 90 days: 961,928 weekly downloads as of Dec 5, 2026, +64.7% over 90 days.vite-plugin-mkcertWeekly downloads on npm · Last 90 days961,928downloads / week+64.7% over 90 days0200K400K600K800K1MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
vite-plugin-mkcert weekly downloads on npm, last 90 days: 961,928 weekly downloads as of Dec 5, 2026, +64.7% over 90 days.

7/30/90-day growth

vite-plugin-mkcert weekly downloads growth on npm: +13.6% over 7 days, +12.4% over 30 days, +64.7% over 90 days.vite-plugin-mkcertWeekly downloads growth on npm961,928downloads / week now7-day growth+115,309 weekly downloads+13.6%30-day growth+106,471 weekly downloads+12.4%90-day growth+378,043 weekly downloads+64.7%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
vite-plugin-mkcert weekly downloads growth on npm: +13.6% over 7 days, +12.4% over 30 days, +64.7% over 90 days.

Ranking history

vite-plugin-mkcert npm ranking history: currently #296 (by weekly downloads).vite-plugin-mkcertnpm ranking · by weekly downloads · Last 90 days#296current rank#286#288#290#292#294#296#298#300#302#304Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
vite-plugin-mkcert npm ranking history: currently #296 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 15, #16 (overall #296)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins300 listings · 15 pages · page 2, #19 (overall #39)
Vite plugins: every listing in weekly downloads order

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 linear 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 (170)
Recent weekly downloads observations for vite-plugin-mkcert
Date (UTC)Weekly downloadsChange vs. previous
961,928+7.7K
954,252+37.1K
917,149+36.7K
880,456+25.2K
855,263+13.5K
841,758-4K
845,719-900
846,619-3.5K
850,167-22.7K
872,897-28.3K
901,200-15.5K
916,674-9.3K
925,936-9.6K
935,550—

Similar npm Vite plugins plugins

All 20 vite-plugin-mkcert alternatives

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-mkcert. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.