koa 2.8.1
Koa web app framework
koa@2.8.1 was published on 2019-08-19. Its manifest declares 24 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is ^4.8.4 || ^6.10.1 || ^7.10.1 || >= 8.1.4.
All koa versions · Permanent reference to 2.8.1 · Latest release
Package specifications
| Version | 2.8.1 |
|---|---|
| License declaration | MIT |
| Published | 2019-08-19T04:36:34.141Z |
| Node.js requirement | ^4.8.4 || ^6.10.1 || ^7.10.1 || >= 8.1.4 |
| Type declarations | Not declared |
| Runtime dependency count | 24 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 77.47 KiB |
| Published file count | 8 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | lib/application.js |
| Side effects declaration | Not declared |
| Direct advisories | 4 |
| Resolved graph dependencies | 59 |
| Repository stars | 35681 |
| Repository forks | 3237 |
Install koa 2.8.1
npm install koa@2.8.1 pnpm add koa@2.8.1 yarn add koa@2.8.1
Runtime dependencies
- depd ^1.1.2
- only ~0.0.2
- vary ^1.1.2
- debug ~3.1.0
- fresh ~0.5.2
- accepts ^1.3.5
- cookies ~0.7.1
- destroy ^1.0.4
- type-is ^1.6.16
- parseurl ^1.3.2
- statuses ^1.5.0
- delegates ^1.0.0
- escape-html ^1.0.3
- http-assert ^1.3.0
- http-errors ^1.6.3
- koa-compose ^4.1.0
- koa-convert ^1.2.0
- koa-is-json ^1.0.0
- on-finished ^2.3.0
- content-type ^1.0.4
- error-inject ^1.0.0
- cache-content-type ^1.0.0
- content-disposition ~0.5.2
- is-generator-function ^1.0.7
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.
- accepts@1.3.8 — direct
- any-promise@1.3.0 — indirect
- async-function@1.0.0 — indirect
- async-generator-function@1.0.0 — indirect
- cache-content-type@1.0.1 — direct
- call-bind-apply-helpers@1.0.2 — indirect
- call-bound@1.0.4 — indirect
- co@4.6.0 — indirect
- content-disposition@0.5.4 — direct
- content-type@1.0.5 — direct
- cookies@0.7.3 — direct
- debug@3.1.0 — direct
- deep-equal@1.0.1 — indirect
- delegates@1.0.0 — direct
- depd@1.1.2 — direct
- destroy@1.2.0 — direct
- dunder-proto@1.0.1 — indirect
- ee-first@1.1.1 — indirect
- error-inject@1.0.0 — direct
- es-define-property@1.0.1 — indirect
- es-errors@1.3.0 — indirect
- es-object-atoms@1.1.2 — indirect
- escape-html@1.0.3 — direct
- fresh@0.5.2 — direct
- function-bind@1.1.2 — indirect
- generator-function@2.0.1 — indirect
- get-intrinsic@1.3.1 — indirect
- get-proto@1.0.1 — indirect
- gopd@1.2.0 — indirect
- has-symbols@1.1.0 — indirect
- has-tostringtag@1.0.2 — indirect
- hasown@2.0.4 — indirect
- http-assert@1.5.0 — direct
- http-errors@1.8.1 — direct
- inherits@2.0.4 — indirect
- is-generator-function@1.1.2 — direct
- is-regex@1.2.1 — indirect
- keygrip@1.0.3 — indirect
- koa-compose@3.2.1 — indirect
- koa-compose@4.1.0 — direct
- koa-convert@1.2.0 — direct
- koa-is-json@1.0.0 — direct
- math-intrinsics@1.1.0 — indirect
- media-typer@0.3.0 — indirect
- mime-db@1.52.0 — indirect
- mime-types@2.1.35 — indirect
- ms@2.0.0 — indirect
- negotiator@0.6.3 — indirect
- on-finished@2.4.2 — direct
- only@0.0.2 — direct
- parseurl@1.3.3 — direct
- safe-buffer@5.2.1 — indirect
- safe-regex-test@1.1.0 — indirect
- setprototypeof@1.2.0 — indirect
- statuses@1.5.0 — direct
- toidentifier@1.0.1 — indirect
- type-is@1.6.18 — direct
- vary@1.1.2 — direct
- ylru@1.4.0 — 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.
Known direct advisories
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
|---|---|
| Code-Review | 6/10 — Found 10/15 approved changesets -- score normalized to 6 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Maintained | 4/10 — 5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 6/10 — dependency not pinned by hash detected -- score normalized to 6 |
| 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/2.8.1 — retrieved 2026-10-29T07:36:25.057Z
- https://api.deps.dev/v3/projects/github.com%2Fkoajs%2Fkoa — retrieved 2026-10-29T05:10:58.567Z
- https://api.deps.dev/v3/systems/npm/packages/koa/versions/2.8.1:dependencies — retrieved 2026-10-29T07:36:25.583Z
- https://api.deps.dev/v3/systems/npm/packages/koa/versions/2.8.1 — retrieved 2026-10-29T07:36:25.542Z