Skip to content
JS
Package

compression

Node.js compression middleware

$ npm install compression

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
020m40m60m80mSept 2025Mar 2026Sept 2026High 63.5m (3 Feb 2026)Low 18.4m (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.

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

  1. v1 first release 1.0.0, 1 Jan 2014

Recent releases

VersionPublished
1.8.211 Sept 2026
1.8.117 Jul 2025
1.8.010 Feb 2025
1.7.531 Oct 2024
1.7.418 Mar 2019
1.7.315 Jul 2018
1.7.219 Feb 2018
1.7.127 Sept 2017
1.7.011 Jul 2017
1.6.212 May 2016
1.6.120 Jan 2016
1.6.030 Sept 2015
1.5.231 Jul 2015
1.5.16 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/compression@1.8.2/
  • unpkghttps://unpkg.com/compression@1.8.2/
  • esm.shhttps://esm.sh/compression@1.8.2
PackageWeekly downloadsGzipLast releaseModuleComparison
shrink-ray-current363.1k-5 years ago--
@fastify/compress655.9k-1 month agoCommonJS-
@loaders.gl/compression358.1k-4 days agoESM + CommonJS-
simple-get19.5m-4 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.