Skip to content
PluginStats

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

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

Webpack plugin for detect web page updates and notify.

View on npm Fresh · Oct 17, 2026

@plugin-web-update-notification/webpack has 47 recorded weekly downloads on npm, a decrease of 73.6% over the past 30 days.

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

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

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

Weekly downloads
47
Official API · Oct 17, 2026
7-day growth
-61.8%
-76 weekly downloads
30-day growth
-73.6%
-131 weekly downloads
90-day growth
-71.0%
-115 weekly downloads
Rank
#1737
Among tracked npm listings

About @plugin-web-update-notification/webpack

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/webpack
  • web-update-notification
  • webpack
  • webpack-plugin

Where @plugin-web-update-notification/webpack 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 87, #18 (overall #1738)
All npm: every listing in weekly downloads order
PNG SVG
Webpack plugins247 listings · 13 pages · page 7, #6 (overall #126)
Webpack 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/webpack weekly downloads on npm, last 90 days: 47 weekly downloads as of Oct 17, 2026, -71.0% over 90 days.@plugin-web-update-notification/webpackWeekly downloads on npm · Last 90 days47downloads / week-71.0% over 90 days050100150200250300350Jul 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/webpack weekly downloads on npm, last 90 days: 47 weekly downloads as of Oct 17, 2026, -71.0% over 90 days.
PNG SVG

7/30/90-day growth

@plugin-web-update-notification/webpack weekly downloads growth on npm: -61.8% over 7 days, -73.6% over 30 days, -71.0% over 90 days.@plugin-web-update-notification/webpackWeekly downloads growth on npm47downloads / week now7-day growth-76 weekly downloads-61.8%30-day growth-131 weekly downloads-73.6%90-day growth-115 weekly downloads-71.0%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@plugin-web-update-notification/webpack weekly downloads growth on npm: -61.8% over 7 days, -73.6% over 30 days, -71.0% over 90 days.
PNG SVG

Ranking history

@plugin-web-update-notification/webpack npm ranking history: currently #1737 (by weekly downloads).@plugin-web-update-notification/webpacknpm ranking · by weekly downloads · Last 90 days#1737current rank#1735#1736#1737#1738#1739Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
@plugin-web-update-notification/webpack npm ranking history: currently #1737 (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/webpack
Date (UTC)Weekly downloadsChange vs. previous
47-23
70+1
69-18
87-10
970
97-27
124+1
123+21
102+3
99+13
86-1
87-15
102+41
61—

Similar npm Webpack 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/webpack. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.