webpack
npmv5.108.4TypeScriptPacks ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
Overview
webpack is an npm package that packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff. It is extremely widely used, with about 48.6M downloads per week and 1 known dependents in the graph. The latest version is 5.108.4, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (48.6M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (112 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of webpack.
Dependencies
Runtime (22)
Dev (90)
Used by
Popular packages that depend on webpack.
Generates and consumes source maps
An AST-based pattern checker for JavaScript.
Reactive Extensions for modern JavaScript
Leaner CSS
Stringify your JSON at max speed
Seamless REST/GraphQL API mocking library for browser and Node.js.
istanbul reports
Minimizer plugin for webpack
Public API for OpenTelemetry
Offers a async require.resolve function. It's highly configurable.
webpack Validation Utils
Frequently installed together
TypeScript definitions for node
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
the most correct and second fastest glob implementation in JavaScript
The semantic version parser used by npm.
An extremely fast JavaScript and CSS bundler and minifier.
Delightful JavaScript Testing.
Escape RegExp special characters
Runtime typescript and ESM support for Node.js
A drop-in replacement for fs, making various improvements.
🔎 A simple, tiny and lightweight benchmarking library!
Version history
| Version | Published | License |
|---|---|---|
| 5.108.4latest | 15 days ago | MIT |
| 5.108.3 | 19 days ago | MIT |
| 5.108.2 | 20 days ago | MIT |
| 5.108.1 | 23 days ago | MIT |
| 5.108.0 | 24 days ago | MIT |
| 5.107.2 | 1 month ago | MIT |
| 5.107.1 | 1 month ago | MIT |
| 5.107.0 | 2 months ago | MIT |
| 5.106.2 | 3 months ago | MIT |
| 5.106.1 | 3 months ago | MIT |
| 5.106.0 | 3 months ago | MIT |
| 5.105.4 | 4 months ago | MIT |
| 5.105.3 | 4 months ago | MIT |
| 5.105.2 | 5 months ago | MIT |
| 5.105.1 | 5 months ago | MIT |
| 5.105.0 | 5 months ago | MIT |
| 5.104.1 | 7 months ago | MIT |
| 5.104.0 | 7 months ago | MIT |
| 5.103.0 | 8 months ago | MIT |
| 5.102.1 | 9 months ago | MIT |
Funding
Frequently asked questions
How do I install webpack?
Run `npm install webpack` to add webpack to your npm project.
What license is webpack released under?
webpack is distributed under the MIT license.
How popular is webpack?
webpack has approximately 48,583,899 downloads per week and 1 known dependent packages.