expressjs/serve-static
Serve static files observed · 2026-08-28
Health v2 · maintenance only
64/100
- Activity 60
- Release rhythm 49
- 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: 36.0
- age_days: 4563
- days_rel: 261
- days_push: 242
- n_releases_24m: 7
Adoption not part of the score
1422 stars · 241 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Node.js middleware library for serving static files from a root directory, built on the send module and commonly used with Express. It handles caching headers, ETags, range requests, and dotfile policies while falling through to the next middleware when files are not found.
Use cases
- serve static files from a node.js server
- serve a frontend build folder with express
- add cache-control and etag headers to static assets
- map multiple directories to the same web address
- serve static assets with dotfile protection
When to choose
- you need to serve static assets in an Express or Connect app
- you want fine-grained control over caching, ranges, and dotfile handling
- you want missing files to fall through to other middleware or routes
When to avoid
- you need a full standalone static file server with directory listing
- you serve assets from a CDN or object storage instead of disk
- you need dynamic server-side rendering of files
Facets
library · maturity stable
http-server middleware file-upload web-development backend developer-tools static-files express-middleware file-serving http nodejs web-server
2 sources
- readme: https://github.com/expressjs/serve-static · fetched 2026-08-28 · 9bc768be4d51
- registry_npm: https://registry.npmjs.org/serve-static · fetched 2026-08-29 · 1ddb39867e8e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| expressjs/serve-static | main | 64 |
For agents
markdown · JSON · MCP: product_card(name="expressjs/serve-static")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem