Skip to content
PluginStats

@plugin-web-update-notification/vite weekly downloads statistics

By plugin-web-update-notification (2 listings) · npm · Vite plugins

Vite plugin for detect web page updates and notify.

View on npm Fresh · Oct 17, 2026

@plugin-web-update-notification/vite has 5,506 recorded weekly downloads on npm, a decrease of 29.4% over the past 30 days.

It ranks #1066 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -40.0%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
5,506
Official API · Oct 17, 2026
7-day growth
-48.3%
-5.1K weekly downloads
30-day growth
-29.4%
-2.3K weekly downloads
90-day growth
-40.0%
-3.7K weekly downloads
Rank
#1066
Among tracked npm listings

About @plugin-web-update-notification/vite

English | 简体中文

plugin-web-update-notification

Detect webpage updates and notify user to reload. support vite, umijs and webpack.

Take the git commit hash (also support svn revision number、package.json version、build timestamp、custom) as the version number, and write version into json file. The client polls the version of the server (visibilitychange or focus event assistant), compares it with the local one, and if it is not the same, notifies the user to refresh the page (you can custom behavior).

When to check for updates (fetch version.json) ?

1. first load page. 2. poll (default: 10*60*1000 ms). 3. script resource loading failure detected (404 ?). 4. when the tab page is refocus or revisible.

Why

Some users do not have the habit of closing web pages. If the front-end page is updated, the user page has always been a historical version, any there may be report an error (file 404) or a white screen.

Install

Usage

vite | umi | webpack

Important: Disable index.html caching!

If index.html is cached, the update notification may still appear after refreshing, so it is necessary to disable the caching of index.html. This is also a best practice for deploy SPA applications.

To disable caching through nginx:

Directly disable caching through html meta tags:

Vite

basic usage

custom notification text

internationalization

hidden default notification, listener to update event and custom behavior.

Umijs

webpack

suggest: disabled index.html cache

webUpdateNotice Options

ts • logVersion: (version) => { • console.log(version: %c${version}, 'color: #1890ff') // this is the default behavior • } • ts document.body.addEventListener('plugin_web_update_notice', (e) => { const { version, options } = e.detail // write some code, show your custom notification and etc. alert('System update!') }) • `

export Functions

| name | params | describe |

| window.pluginWebUpdateNotice\_.setLocale | locale(preset: zh_CN、zh_TW、en_US) | set locale | | window.pluginWebUpdateNotice\_.closeNotification | | close notification | | window.pluginWebUpdateNotice\_.dismissUpdate | | dismiss current update and close notification,same behavior as dismiss button | | window.pluginWebUpdateNotice\_.checkUpdate | | manual check update, a function wrap by debounce(5000ms) |

What was changed

Q&A

1. TypeScript intellisense, if you use window.pluginWebUpdateNotice_. or listener custom update event。

2. request version.json file get 404 error.

If you upload the production files bundled to cdn server:

Deploy the project in a non-root directory:

After version 1.2.0, in most case, you not need to set injectFileBase, it will be automatically detected from the base of vite config、publicPath of webpack config or publicPath of umi config

3. Custom notification button event.

4. Custom notification style.

you can cover css styles with higher weights. (default css file)

5. manual check update.

6. Some versions do not notify. For example, if the customer version is v1.0, you need to update to v1.0.1, but do not want to display the update prompt.

License

MIT

Description from the npm listing.

  • @plugin-web-update-notification/vite
  • vite
  • vite-plugin
  • web-update-notification

Where @plugin-web-update-notification/vite sits in the listing

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.

All npm2,248 listings · 113 pages · page 54, #6 (overall #1066)
All npm: every listing in weekly downloads order
PNG SVG
Vite plugins250 listings · 13 pages · page 10, #10 (overall #190)
Vite plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

@plugin-web-update-notification/vite weekly downloads on npm, last 90 days: 5,506 weekly downloads as of Oct 17, 2026, -40.0% over 90 days.@plugin-web-update-notification/viteWeekly downloads on npm · Last 90 days5,506downloads / week-40.0% over 90 days4K6K8K10K12K14KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
@plugin-web-update-notification/vite weekly downloads on npm, last 90 days: 5,506 weekly downloads as of Oct 17, 2026, -40.0% over 90 days.
PNG SVG

7/30/90-day growth

@plugin-web-update-notification/vite weekly downloads growth on npm: -48.3% over 7 days, -29.4% over 30 days, -40.0% over 90 days.@plugin-web-update-notification/viteWeekly downloads growth on npm5,506downloads / week now7-day growth-5,136 weekly downloads-48.3%30-day growth-2,297 weekly downloads-29.4%90-day growth-3,669 weekly downloads-40.0%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@plugin-web-update-notification/vite weekly downloads growth on npm: -48.3% over 7 days, -29.4% over 30 days, -40.0% over 90 days.
PNG SVG

Ranking history

@plugin-web-update-notification/vite npm ranking history: currently #1066 (by weekly downloads).@plugin-web-update-notification/vitenpm ranking · by weekly downloads · Last 90 days#1066current rank#1064#1065#1066#1067#1068Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
@plugin-web-update-notification/vite npm ranking history: currently #1066 (by weekly downloads).
PNG SVG

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.

Recent observations

Full history (121)
Recent weekly downloads observations for @plugin-web-update-notification/vite
Date (UTC)Weekly downloadsChange vs. previous
5,506-867
6,373-295
6,668-2.2K
8,915-2K
10,9010
10,901+260
10,641-1
10,642+141
10,501+939
9,562-300
9,862-260
10,122-2.5K
12,642-292
12,934—

Similar npm Vite plugins plugins

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/@plugin-web-update-notification/vite. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.