webpack-plugin-replace weekly downloads statistics
By lukeed (2 listings) · npm · Webpack plugins
Replace content while bundling.
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.
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.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
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)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.