npm-install-webpack2-plugin weekly downloads statistics
By ericclemmons (5 listings) · npm · Webpack plugins
Webpack loader to automatically npm install & save dependencies.
npm-install-webpack2-plugin has 337 recorded weekly downloads on npm, a decrease of 48.9% over the past 30 days, ranking #1602 of 2,322 tracked listings.
About npm-install-webpack2-plugin
npm-install-webpack-plugin
Speed up development by automatically installing & saving dependencies with Webpack.
Features
- Works with both Webpack
^v1.12.0and^2.1.0-beta.0. - Auto-installs
.babelrcplugins & presets. - Supports both ES5 & ES6 Modules.
(e.g.
require,import) - Supports Namespaced packages.
(e.g.
@cycle/dom) - Supports Dot-delimited packages.
(e.g.
lodash.capitalize) - Supports CSS imports.
(e.g.
@import "~bootstrap") - Supports Webpack loaders.
(e.g.
babel-loader,file-loader, etc.) - Supports inline Webpack loaders.
(e.g.
require("bundle?lazy!./App") - Auto-installs missing
peerDependencies. (e.g.@cycle/corewill automatically installrx@*) - Supports Webpack's
resolve.alias&resolve.rootconfiguration. (e.g.require("react")can alias toreact-lite)
Why?
It sucks to <kbd>Ctrl-C</kbd> your build script & server just to install a dependency you didn't know you needed until now.
Instead, use require or import how you normally would and npm install
will happen automatically to install & save missing dependencies while you work!
Installation
$ npm install --save-dev npm-install-webpack-plugin
Usage
In your webpack.config.js:
plugins: [
new NpmInstallPlugin();
],
This is equivalent to:
plugins: [
new NpmInstallPlugin({
// Use --save or --save-dev
dev: false,
// Install missing peerDependencies
peerDependencies: true,
// Reduce amount of console logging
quiet: false,
});
],
You can provide a Function to the dev to make it dynamic:
plugins: [
new NpmInstallPlugin({
dev: function(module, path) {
return [
"babel-preset-react-hmre",
"webpack-dev-middleware",
"webpack-hot-middleware",
].indexOf(module) !== -1;
},
}),
],
License
MIT License 2016 © Eric Clemmons
Description from the npm listing.
- webpack
- webpack-plugin
- npm
- install
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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 (122)Similar npm Webpack plugins plugins
All 20 npm-install-webpack2-plugin alternativesData 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/npm-install-webpack2-plugin. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.
