koajs/compose
Middleware composition utility observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 75
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4768
- days_rel: n/a
- days_push: 153
- n_releases_24m: 0
Adoption not part of the score
1020 stars · 144 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
koa-compose is a small utility that composes an array of Koa middleware into a single middleware function using the onion model. It is the core composition engine used by the Koa web framework.
Use cases
- compose koa middleware into one function
- chain async middleware with onion model
- reuse middleware outside of koa
- build custom middleware pipelines in node.js
- understand how koa middleware execution works
When to choose
- you are building or extending a Koa application
- you need promise-based middleware composition in Node.js
- you want a tiny dependency-free composition utility
When to avoid
- you use Express or another framework with its own middleware system
- you need framework features beyond composition
- you are not working in a Node.js/JavaScript environment
Facets
library · maturity stable
middleware web-framework web-development backend developer-tools koa middleware-composition onion-model async nodejs javascript
1 source
- readme: https://github.com/koajs/compose · fetched 2026-08-28 · 999ca5ac4692
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| koajs/compose | main | 66 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem