Skip to content
PluginStats

node-polyfill-webpack-plugin weekly downloads statistics

By Richienb · npm · Webpack plugins

Polyfill Node.js core modules in Webpack.

View on npm Stale · Oct 18, 2026

node-polyfill-webpack-plugin has 1,795,901 recorded weekly downloads on npm, a decrease of 40.5% over the past 30 days, ranking #167 of 2,391 tracked listings.

Weekly downloads
1,795,901
Official API · Oct 18, 2026
7-day growth
-46.9%
-1.6M weekly downloads
30-day growth
-40.5%
-1.2M weekly downloads
90-day growth
-34.9%
-962.3K weekly downloads
Rank
#167
Among tracked npm listings

About node-polyfill-webpack-plugin

node-polyfill-webpack-plugin

Polyfill Node.js core modules in Webpack.

This module is only needed for Webpack 5+.

Install

npm install node-polyfill-webpack-plugin

Usage

Add the following to your webpack.config.js:

const NodePolyfillPlugin = require('node-polyfill-webpack-plugin');

module.exports = {
	// Other rules...
	plugins: [
		new NodePolyfillPlugin(),
	],
};

console, process, and most deprecated/internal Node.js core modules are not polyfilled by default. If you still need to polyfill them, you can use the additionalAliases option:

const NodePolyfillPlugin = require('node-polyfill-webpack-plugin');

module.exports = {
	// Other rules...
	plugins: [
		new NodePolyfillPlugin({
			additionalAliases: ['process', 'punycode'],
		}),
	],
};

The fs module resolves to nothing because its functionality cannot replicated in the browser.

API

new NodePolyfillPlugin(options?)
options

Type: object

onlyAliases is mutually exclusive with excludeAliases and additionalAliases.

excludeAliases

If you don't want a module to be polyfilled, you can specify aliases to be skipped here.

const NodePolyfillPlugin = require('node-polyfill-webpack-plugin');

module.exports = {
	// Other rules...
	plugins: [
		new NodePolyfillPlugin({
			excludeAliases: ['console'],
		}),
	],
};
additionalAliases

Alternatively, you can choose to add certain aliases to the list of polyfilled modules. For example, you can choose to polyfill console.

const NodePolyfillPlugin = require('node-polyfill-webpack-plugin');

module.exports = {
	// Other rules...
	plugins: [
		new NodePolyfillPlugin({
			additionalAliases: ['console'],
		}),
	],
};
onlyAliases

You can also choose to only include certain aliases, ignoring the defaults. For example, you can have only console polyfilled.

const NodePolyfillPlugin = require('node-polyfill-webpack-plugin');

module.exports = {
	// Other rules...
	plugins: [
		new NodePolyfillPlugin({
			onlyAliases: ['console'],
		}),
	],
};

Aliases

Globals
  • Buffer
  • console
  • process
Modules
  • assert
  • buffer
  • console
  • constants
  • crypto
  • domain
  • events
  • http
  • https
  • os
  • path
  • punycode
  • process
  • querystring
  • stream
  • _stream_duplex
  • _stream_passthrough
  • _stream_readable
  • _stream_transform
  • _stream_writable
  • string_decoder
  • sys
  • timers
  • tty
  • url
  • util
  • vm
  • zlib

Description from the npm listing.

  • webpack
  • webpack-plugin
  • node
  • polyfill

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

node-polyfill-webpack-plugin weekly downloads on npm, last 90 days: 1,795,901 weekly downloads as of Oct 18, 2026, -34.9% over 90 days.node-polyfill-webpack-pluginWeekly downloads on npm · Last 90 days1,795,901downloads / week-34.9% over 90 days01M2M3M4M5MJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 23, 2026 – Oct 18, 2026 · 88 observations · Updated Oc…pluginstats.com
node-polyfill-webpack-plugin weekly downloads on npm, last 90 days: 1,795,901 weekly downloads as of Oct 18, 2026, -34.9% over 90 days.

7/30/90-day growth

node-polyfill-webpack-plugin weekly downloads growth on npm: -46.9% over 7 days, -40.5% over 30 days, -34.9% over 90 days.node-polyfill-webpack-pluginWeekly downloads growth on npm1,795,901downloads / week now7-day growth-1,586,508 weekly downlo…-46.9%30-day growth-1,219,947 weekly downlo…-40.5%90-day growth-962,275 weekly downloads-34.9%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
node-polyfill-webpack-plugin weekly downloads growth on npm: -46.9% over 7 days, -40.5% over 30 days, -34.9% over 90 days.

Ranking history

node-polyfill-webpack-plugin npm ranking history: currently #167 (by weekly downloads).node-polyfill-webpack-pluginnpm ranking · by weekly downloads · Last 90 days#167current rank#40#60#80#100#120#140#160#180Jul 23Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21rankOct 17, 2026 – Oct 21, 2026 · 5 observations · Updated Oct 18, 2026pluginstats.com
node-polyfill-webpack-plugin npm ranking history: currently #167 (by weekly downloads).

Listing placement

All npm2,389 listings · 120 pages · 1,195 shown · page 9, #7 (overall #167)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins257 listings · 13 pages · page 1, #5 (overall #5)
Webpack 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 (544)
Recent weekly downloads observations for node-polyfill-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
1,795,901+230.4K
1,565,487-202.1K
1,767,590+51.4K
1,716,155-804K
2,520,189-814.3K
3,334,4620
3,334,462-47.9K
3,382,409+20.4K
3,361,962+19.3K
3,342,647+15.2K
3,327,480-9.5K
3,336,965-13.6K
3,350,522-830.8K
4,181,313—

Similar npm Webpack plugins plugins

All 20 node-polyfill-webpack-plugin 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/node-polyfill-webpack-plugin. First seen Oct 16, 2026; last successful collection Oct 21, 2026. See the methodology.