kwhitley/itty-router
A little router. observed · 2026-08-28
Health v2 · maintenance only
89/100
- Activity 86
- Release rhythm 87
- Longevity 100
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: 8
- age_days: 2331
- days_rel: 86
- days_push: 86
- n_releases_24m: 6
Adoption not part of the score
2046 stars · 83 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Itty Router is an ultra-tiny (~450B-1kB) TypeScript HTTP router library designed for serverless and edge environments like Cloudflare Workers. It provides route parsing, query params, and middleware support while remaining far smaller than Express.js.
Use cases
- build a REST API on Cloudflare Workers
- route HTTP requests in a serverless function
- tiny router for edge deployment with minimal bundle size
- handle URL params and query strings in a worker
- add middleware to a service worker fetch handler
- replace Express with a lightweight router
When to choose
- bundle size is critical, e.g. Cloudflare Workers or edge runtimes
- you want a simple, flexible router with no framework assumptions
- you're building serverless APIs in TypeScript or JavaScript
When to avoid
- you need a full-featured backend framework with built-in body parsing, sessions, or templating
- you're building a traditional Node.js monolith where Express/Fastify ecosystem matters more than size
Facets
library · maturity active
routing middleware http-server api-framework web-development backend apis cloud serverless cloudflare-workers microrouter edge-computing tiny-bundle service-worker serverless web-server nodejs typescript
1 source
- readme: https://github.com/kwhitley/itty-router · fetched 2026-08-28 · 4eca43586f61
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kwhitley/itty-router | main | 89 |
For agents
markdown · JSON · MCP: product_card(name="kwhitley/itty-router")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem