Skip to content
PluginStats

webpack-plugin-replace weekly downloads statistics

By lukeed (2 listings) · npm · Webpack plugins

Replace content while bundling.

View on npm Fresh · Oct 17, 2026

webpack-plugin-replace has 5,065 recorded weekly downloads on npm, a decrease of 46.4% over the past 30 days.

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

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

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

Weekly downloads
5,065
Official API · Oct 17, 2026
7-day growth
-32.2%
-2.4K weekly downloads
30-day growth
-46.4%
-4.4K weekly downloads
90-day growth
-72.0%
-13K weekly downloads
Rank
#1088
Among tracked npm listings

About webpack-plugin-replace

webpack-plugin-replace

Replace content while bundling.

Install

Usage

API

webpack-plugin-replace(options)

options.exclude

Type: Array|String|Function|RegExp Default: false

If multiple conditions are provided, matching _any_ condition will exclude the filepath, which prevents any alterations.

Note: By default, nothing is excluded!

options.include

Type: Array|String|Function|RegExp Default: true

If multiple conditions are provided, matching _any_ condition will include & scan the filepath for eligible replacements.

Note: By default, all filepaths are included!

options.patterns

Type: Array Default: []

An array of RegExp pattern definitions. Each definition is an object with regex and value keys. If value is a function, it takes the same arguments as String.prototype.relace.

options.values

Type: Object Default: {}

An object whose keys are strings that should be replaced and whose values are strings the replacements.

If desired, you may forgo the values key & declare your key:value pairs directly to the main configuration. For example:

License

MIT © Luke Edwards

Description from the npm listing.

  • bundle
  • content
  • plugin
  • replace
  • string
  • text
  • webpack
  • webpack-plugin

Where webpack-plugin-replace 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 55, #8 (overall #1088)
All npm: every listing in weekly downloads order
PNG SVG
Webpack plugins247 listings · 13 pages · page 2, #10 (overall #30)
Webpack plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

webpack-plugin-replace weekly downloads on npm, last 90 days: 5,065 weekly downloads as of Oct 17, 2026, -72.0% over 90 days.webpack-plugin-replaceWeekly downloads on npm · Last 90 days5,065downloads / week-72.0% over 90 days05K10K15K20K25KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
webpack-plugin-replace weekly downloads on npm, last 90 days: 5,065 weekly downloads as of Oct 17, 2026, -72.0% over 90 days.
PNG SVG

7/30/90-day growth

webpack-plugin-replace weekly downloads growth on npm: -32.2% over 7 days, -46.4% over 30 days, -72.0% over 90 days.webpack-plugin-replaceWeekly downloads growth on npm5,065downloads / week now7-day growth-2,411 weekly downloads-32.2%30-day growth-4,383 weekly downloads-46.4%90-day growth-13,015 weekly downloads-72.0%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
webpack-plugin-replace weekly downloads growth on npm: -32.2% over 7 days, -46.4% over 30 days, -72.0% over 90 days.
PNG SVG

Ranking history

webpack-plugin-replace npm ranking history: currently #1088 (by weekly downloads).webpack-plugin-replacenpm ranking · by weekly downloads · Last 90 days#1088current rank#1086#1087#1088#1089#1090Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
webpack-plugin-replace npm ranking history: currently #1088 (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 webpack-plugin-replace
Date (UTC)Weekly downloadsChange vs. previous
5,065-921
5,986-82
6,068-2K
8,083-1.9K
10,0080
10,008+2.3K
7,731+255
7,476+318
7,158+583
6,575-12
6,587-630
7,217-2K
9,224-2.1K
11,323—

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