Skip to content
JS
Package

koa-compress

Compress middleware for koa

v5.2.2, 16 Jun 2026MITCommonJSTypes: Bundled
$ npm install koa-compress

Key numbers

As of 25 Sept 2026
Weekly downloads
439.1k
+10% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
3 months ago
v5.2.2
GitHub stars
441
39 forks
Open issues / PRs
1 / 2
Contributors
-
Commits, last 52 weeks
20

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600k800kSept 2025Mar 2026Sept 2026High 621.2k (25 Aug 2026)Low 238.1k (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.

439,067 downloads last week, 2,034,346 in the last month. The 12-month change of +10% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
323 in total
Latest version
5.2.2, 16 Jun 20263 months ago
First published
20 Aug 2013
Last push to GitHub
13 Sept 202611 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
2
Commits, last 52 weeks
20
Dependents on npm
-

Major versions

  1. v5 first release 5.0.0, 6 Jul 2020
  2. v4 first release 4.0.0, 28 Apr 2020
  3. v3 first release 3.0.0, 14 Apr 2018
  4. v2 first release 2.0.0, 25 Feb 2016
  5. v1 first release 1.0.0, 21 Dec 2013
  6. v0 first release 0.0.1, 20 Aug 2013

Recent releases

VersionPublished
5.2.216 Jun 2026
5.2.112 Mar 2026
5.2.011 Feb 2026
5.1.19 Apr 2023
5.1.018 Aug 2021
5.0.16 Jul 2020
5.0.06 Jul 2020
4.0.130 Apr 2020
4.0.028 Apr 2020
3.1.016 Apr 2020
3.0.014 Apr 2018
2.0.025 Feb 2016
1.0.917 Feb 2016
1.0.815 Sept 2014
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 12
Runtimes
-
Unpacked size (npm)
19 kB
Dependencies (5)
bytesnegotiatorhttp-errorskoa-is-jsoncompressible
npm install koa-compress
  • jsDelivrhttps://cdn.jsdelivr.net/npm/koa-compress@5.2.2/
  • unpkghttps://unpkg.com/koa-compress@5.2.2/
  • esm.shhttps://esm.sh/koa-compress@5.2.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.