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 · Dec 6, 2026

vite-plugin-pwa has 8,056,749 recorded weekly downloads on npm, an increase of 9.4% over the past 30 days, ranking #152 of 3,247 tracked listings.

Weekly downloads
8,056,749
Official API · Dec 5, 2026
7-day growth
+9.4%
+690.7K weekly downloads
30-day growth
+9.4%
+690.3K weekly downloads
90-day growth
+93.9%
+3.9M weekly downloads
Rank
#152
▼ 1 in 7 days

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: 8,056,749 weekly downloads as of Dec 5, 2026, +93.9% over 90 days.vite-plugin-pwaWeekly downloads on npm · Last 90 days8,056,749downloads / week+93.9% over 90 days02M4M6M8M10MSep 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-pwa weekly downloads on npm, last 90 days: 8,056,749 weekly downloads as of Dec 5, 2026, +93.9% over 90 days.

7/30/90-day growth

vite-plugin-pwa weekly downloads growth on npm: +9.4% over 7 days, +9.4% over 30 days, +93.9% over 90 days.vite-plugin-pwaWeekly downloads growth on npm8,056,749downloads / week now7-day growth+690,717 weekly downloads+9.4%30-day growth+690,259 weekly downloads+9.4%90-day growth+3,902,385 weekly downlo…+93.9%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
vite-plugin-pwa weekly downloads growth on npm: +9.4% over 7 days, +9.4% over 30 days, +93.9% over 90 days.

Ranking history

vite-plugin-pwa npm ranking history: currently #152 (by weekly downloads).vite-plugin-pwanpm ranking · by weekly downloads · Last 90 days#152current rank#142#144#146#148#150#152#154#156Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
vite-plugin-pwa npm ranking history: currently #152 (by weekly downloads).

Listing placement

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

Listing placement

Vite plugins300 listings · 15 pages · page 1, #10 (overall #10)
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-pwa
Date (UTC)Weekly downloadsChange vs. previous
8,056,749+113.4K
7,943,327+156.9K
7,786,384+141.4K
7,645,007+96.8K
7,548,221+155.5K
7,392,766-3.1K
7,395,912+29.9K
7,366,032-14.5K
7,380,538-57K
7,437,512-46.1K
7,483,572-17.9K
7,501,454+19.7K
7,481,796+18.3K
7,463,515—

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 Dec 6, 2026. See the methodology.