Skip to content
PluginStats

vite-plugin-ngrok weekly downloads statistics

By aphex (2 listings) · npm · Vite plugins

A Vite plugin for seamless integration with ngrok, allowing you to easily share your local development server with anyone, anywhere.

View on npm Outdated · Nov 18, 2026

vite-plugin-ngrok has 676 recorded weekly downloads on npm, a decrease of 92.9% over the past 30 days, ranking #2185 of 3,247 tracked listings.

Weekly downloads
676
Official API · Dec 5, 2026
7-day growth
+14.8%
+87 weekly downloads
30-day growth
-92.9%
-8.8K weekly downloads
90-day growth
-67.1%
-1.4K weekly downloads
Rank
#2185
▼ 66 in 7 days

About vite-plugin-ngrok

<div align="center"> <img src="./public/vite.svg" width="100px"> <span style="font-size:3rem;color:white">➕</span> <img src="./public/ngrok.svg" width="100px"> </div> <p align="center"> <a href="https://www.npmjs.com/package/vite-plugin-ngrok"><img src="https://img.shields.io/npm/v/vite-plugin-ngrok.svg" alt="npm package"></a> </p>

Vite Plugin ngrok 🎉

A vite plugin to automatically create a ngrok tunnel during local dev. This plugin uses the @ngrok/ngrok Javascript SDK

Features

  • Ngrok Integration: Quickly expose your Vite development server to the internet using Ngrok tunnels.
  • Dynamic URLs: Automatically updates Ngrok URLs when your local server restarts or when the Ngrok tunnel is reopened.
  • Custom Configuration: Fine-tune Ngrok options through a simple configuration file.
  • Simple Sharing: Just install the plugin, add your auth token, and start sharing your project.

How to use

  1. Create a Vite project

  2. Install the plugin into your project

npm i -D vite-plugin-ngrok
  1. Create / Configure a vite.config.ts file in your project root.
import { loadEnv, defineConfig } from 'vite'
import { ngrok } from 'vite-plugin-ngrok'

export default defineConfig({
  // Note you should not store your ngrok token in your code/repo. Make sure to move this to 
  // a more secure place before sharing your project.
  plugins: [
    ngrok('NGROK_AUTH_TOKEN_IN_HERE'),
  ],
})
  1. Fire up Vite as usual
npm run dev

Configuration

The ngrok plugin can be configured in 3 ways.

  1. No configuration. This will default to automatically use the vite port and authtoken_from_env will be set to true. This will look for NGROK_AUTHTOKEN in your environmental variables.
ngrok()
  1. If given a string the plugin will assume this is your auth token and configure it automatically with the vite port.
ngrok('NGROK_AUTH_TOKEN_IN_HERE'),
  1. Full ngrok config. If given an object you can pass in any options from the ngrok config. This will be merged with the default port from vite so that does not need to be set. Config properties can be found in the ngrok Javascript SDK Config docs
ngrok({
  domain: 'my-domain.ngrok.app',
  compression: true,
  authtoken: 'NGROK_AUTH_TOKEN_IN_HERE',
  ...
})

Advanced

You can use Vite's built in env parsing to store your ngrok token in a local file and ignore it from git.

import { loadEnv, defineConfig } from 'vite'
import { ngrok } from 'vite-plugin-ngrok'
const { NGROK_AUTH_TOKEN } = loadEnv('', process.cwd(), 'NGROK')

export default defineConfig({
  plugins: [
    ngrok({
      authtoken: NGROK_AUTH_TOKEN,
    }),
  ],
})

Description from the npm listing.

  • vite-plugin
  • vite
  • ngrok

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-ngrok weekly downloads on npm, last 90 days: 676 weekly downloads as of Dec 5, 2026, -67.1% over 90 days.vite-plugin-ngrokWeekly downloads on npm · Last 90 days676downloads / week-67.1% over 90 days02K4K6K8K10K12KSep 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-ngrok weekly downloads on npm, last 90 days: 676 weekly downloads as of Dec 5, 2026, -67.1% over 90 days.

7/30/90-day growth

vite-plugin-ngrok weekly downloads growth on npm: +14.8% over 7 days, -92.9% over 30 days, -67.1% over 90 days.vite-plugin-ngrokWeekly downloads growth on npm676downloads / week now7-day growth+87 weekly downloads+14.8%30-day growth-8,801 weekly downloads-92.9%90-day growth-1,379 weekly downloads-67.1%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
vite-plugin-ngrok weekly downloads growth on npm: +14.8% over 7 days, -92.9% over 30 days, -67.1% over 90 days.

Ranking history

vite-plugin-ngrok npm ranking history: currently #2185 (by weekly downloads).vite-plugin-ngroknpm ranking · by weekly downloads · Last 90 days#2185current rank#1000#1200#1400#1600#1800#2000#2200Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankNov 8, 2026 – Dec 6, 2026 · 19 observations · Updated Dec 5, 2026pluginstats.com
vite-plugin-ngrok npm ranking history: currently #2185 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 110, #5 (overall #2,185)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins300 listings · 15 pages · page 15, #18 (overall #298)
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 (142)
Recent weekly downloads observations for vite-plugin-ngrok
Date (UTC)Weekly downloadsChange vs. previous
676-13
689-50
739+67
672+37
635+95
540-45
585-4
589-60
649-15
664-10
674-91
765-22
787-22
809—

Similar npm Vite plugins plugins

All 20 vite-plugin-ngrok 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-ngrok. First seen Nov 8, 2026; last successful collection Nov 18, 2026. See the methodology.