Popularity
6.2
Growing
Activity
7.8
Declining
2,595
23
121

Description

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.

Here is a short list of most important features that tinyhttp has:

- ⚡ 2.3x faster than Express - ⚙ Full Express middleware support - ↪ Async middleware support - ☑ Native ESM and CommonJS support - 🚀 No legacy dependencies, just the JavaScript itself - 🔨 Types out of the box

Programming language: TypeScript
License: MIT License
Tags: Nodejs     API     Express     Web Frameworks     HTTP     Framework     TypeScript     Server     Node     JavaScript     REST     Routing     Commonjs     App     Web     Request     Router     Middleware     ESM    
Latest version: v1.0.0

tinyhttp alternatives and similar modules

Based on the "Web Frameworks" category.
Alternatively, view tinyhttp alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of tinyhttp or a related project?

Add another 'Web Frameworks' Module

README

⚡ 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

  • 2x faster than Express
  • ⚙ Express middleware compat
  • ↪ Async middleware support
  • ☑ Native ESM and CommonJS support
  • 🚀 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 12.4+ is required.

pnpm i @tinyhttp/app

Donate

You can donate with fiat or crypto here.

Sponsors

<!-- prettier-ignore-start --> <!-- markdownlint-disable --> Deta molefrog

<!-- markdownlint-enable --> <!-- prettier-ignore-end -->

Contributors ✨

Thanks goes to these wonderful people (emoji key):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> v 1 r t l💡 🔌 📆 🚧 💻 Matt🔌 ⚠️ Nasmevka📖 elianiva💡 🚧 💻 ⚠️ Katja Lutz💡 Arnovsky🔌 💻 Rocktim Saikia🚇 💻 💡 Ahmad Reza💻 Ionel lupu💡 Tomi Kalmi📖 Luiginator💡 💻 Aneesh Relan💡 ⚠️ Roberto Ortega💡 Barciet Maëlann💡 shzmr💻 ⚠️ 💡 Egor Avakumov💡 Rashmi K A💻 Shubhi Agarwal⚠️ Maurizio⚠️ 💻 jkreller💡 Alan Carpilovsky⚠️ KoljaTM⚠️ ike📖 💡 Fabian Morón Zirfas🐛 Vitaly Baev⚠️ 🐛 omrilotan💻 📖 MVEMCJSUNPE💡 🐛 Leo Toneff💻 Calum Knott📖 🐛 Reinaldy Rafli💻 🐛 💡 Ganesh Pendyala📖 Maxim🐛 wasd845🐛 Ikko Ashimine📖 Stanislas📖 Laurin Quast💻 Rohan Sharma🐛 tbhmens💻 🐛 Marcos Henrique💡 massivefermion🔌 💡 Benjamin Selyem🐛 Aral Balkan📖 Sonny Piers📖 paolotiu💻 Anton Trofimenko💻 tomhooijenga💻 Sai Kiran Mukka💻 Oskari Groenroos💻

<!-- markdownlint-restore --> <!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the all-contributors specification. Contributions of any kind welcome!