webpack-plugin-install-deps weekly downloads statistics
By ericclemmons (5 listings) · npm · Webpack plugins
Webpack loader to automatically npm install & save dependencies.
webpack-plugin-install-deps has 102 recorded weekly downloads on npm, a decrease of 34.6% over the past 30 days, ranking #2621 of 3,247 tracked listings.
About webpack-plugin-install-deps
** This is a pr for webpack 4 support that I'm cloning sot that I can use it in my project, since it hasn't been pulled after 2 months. Also, changed the name from npm-install-webpack-plugin, because it supports yarn too **
<div align="center"> <!-- replace with accurate logo e.g from https://worldvectorlogo.com/ --> <a href="https://github.com/webpack/webpack"> <img width="200" height="200" vspace="" hspace="25" src="https://cdn.rawgit.com/webpack/media/e7485eb2/logo/icon.svg"> </a> <h1>webpack-plugin-install-deps</h1> <p>Speed up development by <b>automatically installing & saving dependencies</b> with Webpack.<p> </div>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!
$ npm install --save-dev npm-install-webpack-plugin
<h2 align="center">Usage</h2>
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,
// npm command used inside company, yarn is not supported yet
npm: 'tnpm'
});
],
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;
},
}),
],
<h2 align="center">Demo</h2>

- 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)
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 (170)Similar npm Webpack plugins plugins
All 20 webpack-plugin-install-deps 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/webpack-plugin-install-deps. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.