Skip to content
PluginStats

vite-plugin-pwa weekly downloads statistics

By vite-pwa (5 listings) · npm · Vite plugins

Zero-config PWA for Vite

View on npm Fresh · Oct 18, 2026

vite-plugin-pwa has 3,397,098 recorded weekly downloads on npm, a decrease of 18.5% over the past 30 days, ranking #145 of 2,322 tracked listings.

Weekly downloads
3,397,098
Official API · Oct 18, 2026
7-day growth
-22.8%
-1M weekly downloads
30-day growth
-18.5%
-772.9K weekly downloads
90-day growth
-8.6%
-318.5K weekly downloads
Rank
#145
Among tracked npm listings

About vite-plugin-pwa

<p align='center'> <img src='https://vite-pwa-org.netlify.app/banner_light.svg' alt="vite-plugin-pwa - Zero-config PWA for Vite"><br> Zero-config PWA Framework-agnostic Plugin for Vite </p> <p align='center'> <a href='https://www.npmjs.com/package/vite-plugin-pwa' target="__blank"> <img src='https://img.shields.io/npm/v/vite-plugin-pwa?color=33A6B8&label=' alt="NPM version"> </a> <a href="https://www.npmjs.com/package/vite-plugin-pwa" target="__blank"> <img alt="NPM Downloads" src="https://img.shields.io/npm/dm/vite-plugin-pwa?color=476582&label="> </a> <a href="https://vite-pwa-org.netlify.app/" target="__blank"> <img src="https://img.shields.io/static/v1?label=&message=docs%20%26%20guides&color=2e859c" alt="Docs & Guides"> </a> <br> <a href="https://github.com/antfu/vite-plugin-pwa" target="__blank"> <img alt="GitHub stars" src="https://img.shields.io/github/stars/antfu/vite-plugin-pwa?style=social"> </a> </p> <br> <p align="center"> <a href="https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg"> <img src='https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg'/> </a> </p>

🚀 Features

  • 📖 Documentation & guides
  • 👌 Zero-Config: sensible built-in default configs for common use cases
  • 🔩 Extensible: expose the full ability to customize the behavior of the plugin
  • 🦾 Type Strong: written in TypeScript
  • 🔌 Offline Support: generate service worker with offline support (via Workbox)
  • ⚡ Fully tree shakable: auto inject Web App Manifest
  • 💬 Prompt for new content: built-in support for Vanilla JavaScript, Vue 3, React, Svelte, SolidJS and Preact
  • ⚙️ Stale-while-revalidate: automatic reload when new content is available
  • ✨ Static assets handling: configure static assets for offline support
  • 🐞 Development Support: debug your custom service worker logic as you develop your application
  • 🛠️ Versatile: integration with meta frameworks: îles, SvelteKit, VitePress, Astro, Nuxt 3 and Remix
  • 💥 PWA Assets Generator: generate all the PWA assets from a single command and a single source image
  • 🚀 PWA Assets Integration: serving, generating and injecting PWA Assets on the fly in your application

📦 Install

From v2.0.0, vite-plugin-pwa requires Node 20.19.0 or above

From v0.17, vite-plugin-pwa requires Vite 5.

From v0.16 vite-plugin-pwa requires Node 16 or above: workbox v7 requires Node 16 or above.

From v0.13, vite-plugin-pwa requires Vite 3.1 or above.

npm i vite-plugin-pwa -D

# yarn
yarn add vite-plugin-pwa -D

# pnpm
pnpm add vite-plugin-pwa -D

🦄 Usage

Add VitePWA plugin to vite.config.js / vite.config.ts and configure it:

// vite.config.js / vite.config.ts
import { VitePWA } from 'vite-plugin-pwa'

export default {
  plugins: [
    VitePWA()
  ]
}

Read the 📖 documentation for a complete guide on how to configure and use this plugin.

Check out the client type declarations client.d.ts for built-in frameworks support.

👀 Full config

Check out the type declaration src/types.ts and the following links for more details.

📄 License

MIT License © 2020-PRESENT Anthony Fu

Description from the npm listing.

  • react
  • pwa
  • vue
  • vitepress
  • preact
  • svelte
  • sveltekit
  • workbox
  • solidjs
  • vite
  • vite-plugin

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-pwa weekly downloads on npm, last 90 days: 3,397,098 weekly downloads as of Oct 18, 2026, -8.6% over 90 days.vite-plugin-pwaWeekly downloads on npm · Last 90 days3,397,098downloads / week-8.6% over 90 days2.5M3M3.5M4M4.5M5M5.5M6M6.5MJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
vite-plugin-pwa weekly downloads on npm, last 90 days: 3,397,098 weekly downloads as of Oct 18, 2026, -8.6% over 90 days.

7/30/90-day growth

vite-plugin-pwa weekly downloads growth on npm: -22.8% over 7 days, -18.5% over 30 days, -8.6% over 90 days.vite-plugin-pwaWeekly downloads growth on npm3,397,098downloads / week now7-day growth-1,001,750 weekly downlo…-22.8%30-day growth-772,893 weekly downloads-18.5%90-day growth-318,546 weekly downloads-8.6%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
vite-plugin-pwa weekly downloads growth on npm: -22.8% over 7 days, -18.5% over 30 days, -8.6% over 90 days.

Ranking history

vite-plugin-pwa npm ranking history: currently #145 (by weekly downloads).vite-plugin-pwanpm ranking · by weekly downloads · Last 90 days#145current rank#143#144#145#146#147#148#149Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
vite-plugin-pwa npm ranking history: currently #145 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 8, #5 (overall #145)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins253 listings · 13 pages · page 1, #7 (overall #7)
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 (122)
Recent weekly downloads observations for vite-plugin-pwa
Date (UTC)Weekly downloadsChange vs. previous
3,397,098+683.8K
2,713,321-706.4K
3,419,770+39.6K
3,380,126-1M
4,384,108-1M
5,388,2430
5,388,243+989.4K
4,398,848+90.4K
4,308,465+45.1K
4,263,326+48.3K
4,215,051+982
4,214,069+63K
4,151,092-921.8K
5,072,856—

Similar npm Vite plugins plugins

All 20 vite-plugin-pwa 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-pwa. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.