Package
compression
Node.js compression middleware
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 34.5m
- +56% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 8
- Direct, from package.json
- Last release
- 13 days ago
- v1.8.2
- GitHub stars
- 2.8k
- 255 forks
- Open issues / PRs
- 11 / 10
- Contributors
- 30
- Commits, last 52 weeks
- 21
Downloads
Last week 2026-09-15 to 2026-09-21
34,470,927 downloads last week, 154,706,209 in the last month. The 12-month change of +56% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 140 in total
- Latest version
- 1.8.2, 11 Sept 202613 days ago
- First published
- 1 Jan 2014
- Last push to GitHub
- 11 Sept 202613 days before the snapshot
- Repository archived
- No
- Open issues
- 11
- Open pull requests
- 10
- Commits, last 52 weeks
- 21
- Dependents on npm
- 8,648
Major versions
- v1 first release 1.0.0, 1 Jan 2014
Recent releases
| Version | Published |
|---|---|
| 1.8.2 | 11 Sept 2026 |
| 1.8.1 | 17 Jul 2025 |
| 1.8.0 | 10 Feb 2025 |
| 1.7.5 | 31 Oct 2024 |
| 1.7.4 | 18 Mar 2019 |
| 1.7.3 | 15 Jul 2018 |
| 1.7.2 | 19 Feb 2018 |
| 1.7.1 | 27 Sept 2017 |
| 1.7.0 | 11 Jul 2017 |
| 1.6.2 | 12 May 2016 |
| 1.6.1 | 20 Jan 2016 |
| 1.6.0 | 30 Sept 2015 |
| 1.5.2 | 31 Jul 2015 |
| 1.5.1 | 6 Jul 2015 |
- Module format
- -Not determined from package.json
- TypeScript types
- None
- Node.js engine range
- >= 0.8.0
- Runtimes
- -
- Unpacked size (npm)
- 20 kB
- Dependencies (8)
varybytesdebugdestroynegotiatoron-headerssafe-buffercompressible
npm install compression- jsDelivr
https://cdn.jsdelivr.net/npm/compression@1.8.2/ - unpkg
https://unpkg.com/compression@1.8.2/ - esm.sh
https://esm.sh/compression@1.8.2
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| shrink-ray-current | 363.1k | - | 5 years ago | - | - |
| @fastify/compress | 655.9k | - | 1 month ago | CommonJS | - |
| @loaders.gl/compression | 358.1k | - | 4 days ago | ESM + CommonJS | - |
| simple-get | 19.5m | - | 4 years ago | CommonJS | - |
Indexability: Indexed.