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 Fresh · Dec 6, 2026

node-polyfill-webpack-plugin has 3,778,562 recorded weekly downloads on npm, an increase of 5.0% over the past 30 days, ranking #188 of 3,247 tracked listings.

Weekly downloads
3,778,562
Official API · Dec 5, 2026
7-day growth
+17.5%
+563.4K weekly downloads
30-day growth
+5.0%
+179K weekly downloads
90-day growth
+44.6%
+1.2M weekly downloads
Rank
#188
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: 3,778,562 weekly downloads as of Dec 5, 2026, +44.6% over 90 days.node-polyfill-webpack-pluginWeekly downloads on npm · Last 90 days3,778,562downloads / week+44.6% over 90 days01M2M3M4M5MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
node-polyfill-webpack-plugin weekly downloads on npm, last 90 days: 3,778,562 weekly downloads as of Dec 5, 2026, +44.6% over 90 days.

7/30/90-day growth

node-polyfill-webpack-plugin weekly downloads growth on npm: +17.5% over 7 days, +5.0% over 30 days, +44.6% over 90 days.node-polyfill-webpack-pluginWeekly downloads growth on npm3,778,562downloads / week now7-day growth+563,427 weekly downloads+17.5%30-day growth+179,012 weekly downloads+5.0%90-day growth+1,165,757 weekly downlo…+44.6%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
node-polyfill-webpack-plugin weekly downloads growth on npm: +17.5% over 7 days, +5.0% over 30 days, +44.6% over 90 days.

Ranking history

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

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 10, #8 (overall #188)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 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 (592)
Recent weekly downloads observations for node-polyfill-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
3,778,562+22.6K
3,755,975+165.5K
3,590,433+207.9K
3,382,489+109.6K
3,272,931+29.9K
3,243,029+27.1K
3,215,948+813
3,215,135-34.3K
3,249,462-141.3K
3,390,794-203K
3,593,761-96.6K
3,690,315-28.8K
3,719,164-34.5K
3,753,675—

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 Dec 6, 2026. See the methodology.