Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Node.js
  3. Tinyhttp

Tinyhttp

MITTypeScript@tinyhttp/res@2.2.14

A modern, minimal, and fast web framework for Node.js, designed as a drop-in replacement for Express.

Visit WebsiteGitHubGitHub
2.9k stars151 forks0 contributors

What is Tinyhttp?

tinyhttp is a lightweight web framework for Node.js, designed as a modern replacement for Express. It provides a similar API but is written in TypeScript, compiled to native ESM, and has a minimal install and runtime footprint. It solves the problem of legacy dependencies and polyfills in traditional frameworks, offering a faster and more streamlined development experience.

Target Audience

Node.js developers building web servers, APIs, or applications who want a modern, minimal alternative to Express with native ESM support and TypeScript integration.

Value Proposition

Developers choose tinyhttp for its significantly smaller dependency footprint, modern ESM-only architecture, and full TypeScript support, making it faster and more maintainable than Express while maintaining compatibility with existing Express middleware.

Overview

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

Use Cases

Best For

  • Building lightweight REST APIs with minimal overhead
  • Migrating from Express to a modern, ESM-native framework
  • Developing TypeScript-based Node.js web applications
  • Creating microservices where small bundle size is critical
  • Projects targeting Node.js 16+ without legacy polyfills
  • Learning web framework concepts with a simple, clean codebase

Not Ideal For

  • Projects requiring Node.js versions older than 16
  • Teams heavily invested in CommonJS modules and unwilling to migrate to ESM
  • Large-scale applications needing extensive third-party middleware beyond Express compatibility

Pros & Cons

Pros

Express Middleware Compatibility

Supports existing Express middleware, easing migration from Express and allowing developers to reuse familiar tools without rewrites.

Modern ESM-Only Design

Compiled to native ECMAScript Modules, eliminating legacy polyfills and improving performance with modern Node.js versions.

Minimal Dependency Footprint

Has three times fewer dependencies than Express v5, leading to faster installs and a reduced attack surface.

TypeScript First Support

Provides full type definitions out of the box, enhancing developer experience with better tooling and type safety.

Cons

ESM-Only Barrier

Forces adoption of ECMAScript Modules, which can be challenging for projects tied to CommonJS or older Node.js setups.

Smaller Ecosystem

As a newer project, it has a limited community and fewer third-party middlewares compared to Express, potentially restricting complex integrations.

Maturity Concerns

Less battle-tested in production environments than Express, with fewer guarantees for long-term support and stability.

Open Source Alternative To

Tinyhttp is an open-source alternative to the following products:

Express
Express

Express is a minimal and flexible Node.js web application framework that provides a robust set of features for building web and mobile applications. It simplifies server-side development with routing, middleware support, and HTTP utility methods.

Frequently Asked Questions

Quick Stats

Stars2,898
Forks151
Contributors0
Open Issues4
Last commit1 day ago
CreatedSince 2020

Tags

#http-server#webframework#javascript-framework#api#minimalist#esm#http#server#nodejs#typescript#web-framework#javascript#backend#web#express-js#middleware

Built With

T
TypeScript
E
ESM
N
Node.js

Links & Resources

Website

Included in

Node.js65.5k
Auto-fetched 5 hours ago

Related Projects

Next.jsNext.js

The React Framework

Stars141,095
Forks31,499
Last commit6 hours ago
NestNest

A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀

Stars76,177
Forks8,378
Last commit9 hours ago
ExpressExpress

Fast, unopinionated, minimalist web framework for node.

Stars69,233
Forks24,308
Last commit11 days ago
Nuxt.jsNuxt.js

the full-stack Vue framework

Stars60,673
Forks5,751
Last commit19 hours ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub