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. With depending only on 6 modules (5 of which are tinyhttp's), it gives you routing, req / res extensions, eTag generation and more. All middleware that was created for Express, works flawlessly with tinyhttp, including typings. Unlike Express, tinyhttp supports async / await for routes. There are proper typings for async handlers, and a function checker inside tinyhttp to resolve async functions and execute sync ones. To say shorter, both sync and async work fine.
Features
- 2x faster than Express
- Express middleware compat
- Async middleware support
- ESM-only
- No legacy dependencies, just the JavaScript itself
- Types out of the box
Categories
FrameworksLicense
MIT LicenseFollow tinyhttp
Other Useful Business Software
AI-generated apps that pass security review
Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of tinyhttp!