Skip to content
JS
Package

compression-webpack-plugin

Prepare compressed versions of assets to serve them with Content-Encoding

v12.0.0, 2 Mar 2026MITCommonJSTypes: BundledBundler plugins and loaders
$ npm install compression-webpack-plugin

Key numbers

As of 25 Sept 2026
Weekly downloads
978.2k
+14% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
6 months ago
v12.0.0
GitHub stars
1.4k
108 forks
Open issues / PRs
0 / 10
Contributors
-
Commits, last 52 weeks
10

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.5m (23 Jun 2026)Low 511.9k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

978,236 downloads last week, 4,960,351 in the last month. The 12-month change of +14% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
157 in total
Latest version
12.0.0, 2 Mar 20266 months ago
First published
5 Aug 2013
Last push to GitHub
19 Sept 20265 days before the snapshot
Repository archived
Yes
Open issues
0
Open pull requests
10
Commits, last 52 weeks
10
Dependents on npm
978

Major versions

  1. v12 first release 12.0.0, 2 Mar 2026
  2. v11 first release 11.0.0, 15 Jan 2024
  3. v10 first release 10.0.0, 17 May 2022
  4. v9 first release 9.0.0, 11 Sept 2021
  5. v8 first release 8.0.0, 21 May 2021
  6. v7 first release 7.0.0, 2 Dec 2020
  7. v6 first release 6.0.0, 14 Sept 2020
  8. v5 first release 5.0.0, 17 Aug 2020
  9. v4 first release 4.0.0, 12 May 2020
  10. v3 first release 3.0.0, 5 Jun 2019
  11. v2 first release 2.0.0, 4 Sept 2018
  12. v1 first release 1.0.0, 15 Jul 2017
  13. v0 first release 0.1.0, 6 Aug 2013

Recent releases

VersionPublished
12.0.02 Mar 2026
11.1.027 Feb 2024
11.0.015 Jan 2024
6.1.226 Dec 2023
10.0.017 May 2022
9.2.016 Dec 2021
9.1.213 Dec 2021
9.1.19 Dec 2021
9.1.09 Dec 2021
9.0.117 Nov 2021
9.0.011 Sept 2021
8.0.125 Jun 2021
8.0.021 May 2021
7.1.211 Jan 2021
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 20.9.0
Runtimes
-
Unpacked size (npm)
40 kB
Dependencies (2)
schema-utilsserialize-javascript
Peer dependencies (1)
webpack
npm install compression-webpack-plugin
  • jsDelivrhttps://cdn.jsdelivr.net/npm/compression-webpack-plugin@12.0.0/
  • unpkghttps://unpkg.com/compression-webpack-plugin@12.0.0/
  • esm.shhttps://esm.sh/compression-webpack-plugin@12.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
karma-webpack457.1k-2 years agoCommonJS-
file-loader11.3m-5 years agoCommonJS-
source-map-loader10.1m-2 years agoCommonJS-
url-loader5.9m-5 years agoCommonJS-
raw-loader3.7m-5 years agoCommonJS-
null-loader1.6m-5 years ago--
worker-loader642.6k-5 years agoCommonJS-
node-loader460.8k-1 year agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.