@koa/router
Router middleware for Koa.
@koa/router@15.7.0 was published on 2026-07-04. Its manifest declares 4 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >= 20.
All @koa/router versions · Permanent reference to 15.7.0
Package specifications
| Version | 15.7.0 |
|---|---|
| License declaration | MIT |
| Published | 2026-07-04T16:57:17.205Z |
| Node.js requirement | >= 20 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 4 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 203.10 KiB |
| Published file count | 9 |
| Package type | Not declared |
| ES module entry | ./dist/index.mjs |
| Default entry | ./dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 10 |
| Repository stars | 911 |
| Repository forks | 181 |
Install @koa/router 15.7.0
npm install @koa/router@15.7.0 pnpm add @koa/router@15.7.0 yarn add @koa/router@15.7.0
Runtime dependencies
- debug ^4.4.3
- http-errors ^2.0.1
- koa-compose ^4.1.0
- path-to-regexp ^8.4.2
Peer requirements
- koa ^2.0.0 || ^3.0.0
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- debug@4.4.3 — direct
- depd@2.0.0 — indirect
- http-errors@2.0.1 — direct
- inherits@2.0.4 — indirect
- koa-compose@4.1.0 — direct
- ms@2.1.3 — indirect
- path-to-regexp@8.4.2 — 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.
| Maintained | 9/10 — 11 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 9 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Code-Review | 0/10 — Found 2/25 approved changesets -- score normalized to 0 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| 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/%40koa%2Frouter/15.7.0 — retrieved 2026-10-29T12:35:48.016Z
- https://api.deps.dev/v3/systems/npm/packages/%40koa%2Frouter/versions/15.7.0 — retrieved 2026-10-29T12:35:48.590Z
- https://api.deps.dev/v3/systems/npm/packages/%40koa%2Frouter/versions/15.7.0:dependencies — retrieved 2026-10-29T12:35:48.616Z
- https://api.deps.dev/v3/projects/github.com%2Fkoajs%2Frouter — retrieved 2026-10-29T12:35:48.757Z