# tinyhttp/tinyhttp

🦄 0-legacy, tiny & fast web framework as a replacement of Express

Repository: https://github.com/tinyhttp/tinyhttp
Canonical: https://ross.abutalabs.com/products/tinyhttp
Homepage: https://tinyhttp.v1rtl.site
Language: TypeScript
License: MIT
License Family: permissive
Topics: web, webframework, nodejs, javascript, javascript-framework, backend, http-server, express-js, http, esm, es6, es6-javascript, typescript, esnext, nodejs-server, nodejs-frameworks, node-js
Last push: 2026-08-10T13:53:34+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 97, release rhythm 85, longevity 100
- inputs: {"age_days": 2273, "days_push": 23, "days_rel": 23, "gap_med": 0.0, "n_releases_24m": 65}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2899, forks 155 (observed 2026-08-28T04:07:28.821545+00:00)

## What it is
tinyhttp is a modern, Express-like web framework for Node.js written in TypeScript and compiled to native ESM. It offers a minimal dependency footprint, Express middleware compatibility, async error handling, and built-in types.

## Use cases
- build a lightweight REST API in Node.js
- replace Express with a smaller, modern framework
- create an ESM-only TypeScript web server
- serve JSON endpoints with minimal dependencies
- build a small backend service with Express-compatible middleware
- scaffold a new Node.js web app quickly with the tinyhttp CLI

## When to choose
- you want an Express-like API with far fewer dependencies
- your project targets modern Node.js (16+) or Bun and uses native ESM
- you want first-class TypeScript types without extra setup
- you prefer a modular framework where body parsing and static serving are opt-in middlewares

## When to avoid
- you rely on legacy Node.js versions or CommonJS require
- you need Express's full ecosystem, settings system, or built-in static/body-parsing behavior
- you depend on middleware that mutates Express-specific internals

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, http-server, routing, middleware
- domain: web-development, backend, apis
- platform: bun, cross-platform
- tags: express-replacement, esm-only, typescript, minimal-dependencies, http, nodejs

## Member repositories
- tinyhttp/tinyhttp (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:28.821545+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:35:12.000441+00:00, confidence not recorded.
  - readme: https://github.com/tinyhttp/tinyhttp (fetched 2026-08-28T04:07:28.821545+00:00, sha ea686c3f1ae9)
  - homepage: https://tinyhttp.v1rtl.site (fetched 2026-08-29T09:50:19.417765+00:00, sha d7d58018ebf0)
  - site_page: https://tinyhttp.v1rtl.site/docs/getting-started.html (fetched 2026-08-29T09:50:19.427440+00:00, sha abf1f11b9ac2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
