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

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow tinyhttp

tinyhttp Web Site

Other Useful Business Software
DataImpulse - Ethical Provider of Residential, Mobile, and Data Center IPs Icon
DataImpulse - Ethical Provider of Residential, Mobile, and Data Center IPs

For anyone looking for residential proxies, mobile proxies, and datacenter proxies

DataImpulse (dataimpulse.com) is a proxy provider offering a pool of over 90 million ethically sourced residential, mobile, and data center IP addresses from 195 countries. Pricing for residential proxies starts at $1 per GB with a pay-as-you-go model; there are no subscriptions or traffic expiration dates.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of tinyhttp!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Frameworks

Registered

2023-05-11