Skip to content

tinyhttp/tinyhttp

Repository files navigation




tinyhttp

⚡ Tiny web framework as a replacement of Express


npm GitHub Workflow Status Coverage



tinyhttp is a modern Express-like web framework written in TypeScript and compiled to native ESM, that uses a bare minimum amount of dependencies trying to avoid legacy hell.

Features

  • 58% faster than Express
  • ⚙ Express middleware compat
  • ↪ Async middleware support
  • ☑ ESM-only
  • 🚀 No legacy dependencies, just the JavaScript itself
  • 🔨 Types out of the box
  • 🔥 Prebuilt middleware for modern Node.js

Visit tinyhttp website for docs, guides and middleware search.

Install

Node.js 14.21.3+ is required.

pnpm i @tinyhttp/app

Donate

You can donate with fiat or crypto here.

Sponsors


Deta

molefrog

Contributing

There are many ways to contribute:

For ways to contribute, please see the documentation.