koa-compress
Compress middleware for koa
koa-compress@5.2.2 was published on 2026-06-16. Its manifest declares 5 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >= 12.
All koa-compress versions · Permanent reference to 5.2.2
Package specifications
| Version | 5.2.2 |
|---|---|
| License declaration | MIT |
| Published | 2026-06-16T03:38:29.538Z |
| Node.js requirement | >= 12 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 5 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 19.20 KiB |
| Published file count | 6 |
| Package type | commonjs |
| ES module entry | Not declared |
| Default entry | lib |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 12 |
| Repository stars | 440 |
| Repository forks | 39 |
Install koa-compress 5.2.2
npm install koa-compress@5.2.2 pnpm add koa-compress@5.2.2 yarn add koa-compress@5.2.2
Runtime dependencies
- bytes ^3.1.2
- compressible ^2.0.18
- http-errors ^2.0.1
- koa-is-json ^1.0.0
- negotiator ^1.0.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- bytes@3.1.2 — direct
- compressible@2.0.18 — direct
- content-type@2.1.0 — indirect
- depd@2.0.0 — indirect
- http-errors@2.0.1 — direct
- inherits@2.0.4 — indirect
- koa-is-json@1.0.0 — direct
- mime-db@1.54.0 — indirect
- negotiator@1.1.0 — direct
- setprototypeof@1.2.0 — indirect
- statuses@2.0.2 — indirect
- toidentifier@1.0.1 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 3/10 — Found 6/20 approved changesets -- score normalized to 3 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 9/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Maintained | 10/10 — 13 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10 |
| Pinned-Dependencies | 4/10 — dependency not pinned by hash detected -- score normalized to 4 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Security-Policy | 10/10 — security policy file detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/koa-compress/5.2.2 — retrieved 2026-10-29T11:40:02.623Z
- https://api.deps.dev/v3/systems/npm/packages/koa-compress/versions/5.2.2 — retrieved 2026-10-29T11:40:03.191Z
- https://api.deps.dev/v3/systems/npm/packages/koa-compress/versions/5.2.2:dependencies — retrieved 2026-10-29T11:40:03.206Z
- https://api.deps.dev/v3/projects/github.com%2Fkoajs%2Fcompress — retrieved 2026-10-29T11:40:03.330Z