+
Skip to content

tinyhttp/tinyhttp




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 with a minimal install and runtime footprint. tinyhttp doesn't depend on any polyfills or any other compatibility layers and targets recent Node.js versions.

Features

  • ⚙ Express middleware compat
  • ↪ Async error handling support
  • ☑ ESM-only
  • 🚀 No legacy compat or useless polyfills
  • 🤏 Minimal dependencies (3x less than express v5)
  • 🔨 Types out of the box
  • 🔥 Middlewares for common tasks

Visit tinyhttp website for docs, guides and middleware search.

Install

Node.js 16+ is required.

pnpm i @tinyhttp/app

Donate

You can donate with fiat or crypto here.

Sponsors

LambdaTest

Contributing

There are many ways to contribute:

For ways to contribute, please see the documentation.

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载