Skip to content
PluginStats

auto-require-webpack-plugin weekly downloads statistics

By nilennoct · npm · Webpack plugins

Webpack plugin to automatically require the module itself

View on npm Fresh · Dec 6, 2026

auto-require-webpack-plugin has 77 recorded weekly downloads on npm, an increase of 71.1% over the past 30 days, ranking #2675 of 3,247 tracked listings.

Weekly downloads
77
Official API · Dec 5, 2026
7-day growth
+16.7%
+11 weekly downloads
30-day growth
+71.1%
+32 weekly downloads
90-day growth
-7.2%
-6 weekly downloads
Rank
#2675
▼ 102 in 7 days

About auto-require-webpack-plugin

auto-require-webpack-plugin

Webpack plugin to automatically require the module itself, if module name defined. For Example:

(function webpackUniversalModuleDefinition(root, factory) {
	if(typeof exports === 'object' && typeof module === 'object')
		module.exports = factory();
	else if(typeof define === 'function' && define.amd)
		define("common/view", [], factory);
	else if(typeof exports === 'object')
		exports["common/view"] = factory();
	else
		root["common/view"] = factory();
})(this, function() {
  /* Module code here */
});

// When using require, call the module automatically
typeof define === 'function' && define.amd && require(['common/view']);

Usage

new AutoRequirePlugin(options)
/* Use constructor options directly */
var options = true;

module.exports = {
  plugins: [
    new AutoRequirePlugin(options)
  ]
};

Or

/* Use `output.autoRequire` to set options */
var options = true;

module.exports = {
  output: {
    autoRequire: options
  },
  plugins: [
    new AutoRequirePlugin()
  ]
};

There are two ways to configure AutoRequirePlugin: constructor's parameter or output.autoRequire. The latter will override constructor's parameter.

Examples

Type of options can be boolean, string, RegExp, function and Array.

Require all modules
module.exports = {
  plugins: [
    new AutoRequirePlugin(true)
  ]
};
Require module with specific name
module.exports = {
  plugins: [
    new AutoRequirePlugin('common/view')
  ]
};
Require module(s) matching regular expression
module.exports = {
  plugins: [
    new AutoRequirePlugin(/^common/)
  ]
};
Require module(s) testing by function
module.exports = {
  plugins: [
    new AutoRequirePlugin(function (moduleName) {
      return moduleName.split('/').length > 2;
    })
  ]
};
More complex case
module.exports = {
  plugins: [
    new AutoRequirePlugin([
      /^pages\/.+/,
      function (moduleName) {
        return moduleName.indexOf('common') >= 0 && moduleName.indexOf('widgets') < 0;
      }
    ])
  ]
};

Description from the npm listing.

  • webpack
  • plugin
  • webpack-plugin
  • require
  • amd
  • umd

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

auto-require-webpack-plugin weekly downloads on npm, last 90 days: 77 weekly downloads as of Dec 5, 2026, -7.2% over 90 days.auto-require-webpack-pluginWeekly downloads on npm · Last 90 days77downloads / week-7.2% over 90 days020406080100120140160180Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
auto-require-webpack-plugin weekly downloads on npm, last 90 days: 77 weekly downloads as of Dec 5, 2026, -7.2% over 90 days.

7/30/90-day growth

auto-require-webpack-plugin weekly downloads growth on npm: +16.7% over 7 days, +71.1% over 30 days, -7.2% over 90 days.auto-require-webpack-pluginWeekly downloads growth on npm77downloads / week now7-day growth+11 weekly downloads+16.7%30-day growth+32 weekly downloads+71.1%90-day growth-6 weekly downloads-7.2%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
auto-require-webpack-plugin weekly downloads growth on npm: +16.7% over 7 days, +71.1% over 30 days, -7.2% over 90 days.

Ranking history

auto-require-webpack-plugin npm ranking history: currently #2675 (by weekly downloads).auto-require-webpack-pluginnpm ranking · by weekly downloads · Last 90 days#2675current rank#500#1000#1500#2000#2500#3000Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
auto-require-webpack-plugin npm ranking history: currently #2675 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 134, #15 (overall #2,675)
All npm: every listing in weekly downloads order

Listing placement

Webpack plugins349 listings · 18 pages · page 10, #17 (overall #197)
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 auto-require-webpack-plugin
Date (UTC)Weekly downloadsChange vs. previous
77-3
80+9
71+8
63-11
74+6
68+2
660
660
66-1
67+1
66+8
58-8
66-2
68—

Similar npm Webpack plugins plugins

All 20 auto-require-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/auto-require-webpack-plugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.