koajs/static
Static file server middleware observed · 2026-08-28
Health v2 · maintenance only
54/100
- Activity 48
- 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: 4764
- days_rel: n/a
- days_push: 317
- n_releases_24m: 0
Adoption not part of the score
1147 stars · 113 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
koa-static is static file serving middleware for the Koa web framework, wrapping koa-send. It serves files from a root directory with support for caching headers, gzip/brotli precompressed files, index files, and extension matching.
Use cases
- serve static assets from a koa app
- serve a frontend build directory with node
- serve gzip or brotli precompressed files
- serve index.html for directory requests
- add cache headers to static file responses
When to choose
- you use Koa and need to serve static files
- you want automatic serving of precompressed .gz/.br assets
- you need simple, well-maintained static file middleware
When to avoid
- you use Express or Fastify (use their native static middleware)
- you need a full standalone static file server rather than middleware
- you need advanced features like range requests customization beyond koa-send
Facets
library · maturity stable
http-server middleware file-upload web-development backend developer-tools koa static-files file-serving middleware gzip brotli nodejs web-server
1 source
- readme: https://github.com/koajs/static · fetched 2026-08-28 · b2c5aeb1785d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| koajs/static | main | 54 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem