ZijianHe/koa-router
Router middleware for koa. observed · 2026-08-28
Health v2 · maintenance only
54/100
- Activity 69
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4751
- days_rel: n/a
- days_push: 186
- n_releases_24m: 0
Adoption not part of the score
4814 stars · 398 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
koa-router is Express-style routing middleware for the Koa web framework, supporting named parameters, nested routers, and async/await. It handles HTTP method routing, OPTIONS responses, and 405/501 error handling.
Use cases
- define REST routes in a Koa app
- route HTTP requests with named URL parameters
- nest and prefix routers in a Node.js API
- generate URLs from named routes
- handle 405 method-not-allowed responses automatically
When to choose
- you use Koa and want familiar Express-style routing
- you need nested routers and route middleware
- you want automatic OPTIONS and 405 handling
When to avoid
- you use Express or Fastify, which have built-in routers
- you need a full web framework rather than routing middleware
Facets
library · maturity stable
routing middleware http-server web-framework web-development backend apis koa express-style-routing rest url-parameters nodejs
1 source
- readme: https://github.com/ZijianHe/koa-router · fetched 2026-08-28 · 6b27553a7776
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ZijianHe/koa-router | main | 54 |
For agents
markdown · JSON · MCP: product_card(name="ZijianHe/koa-router")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem