Popularity
6.0
Growing
Activity
9.6
Growing
1,902
16
80

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 now has a Deno port (work in progress)

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

DEV

The best way to support the project is to stake it on stakes.social. Note that you also get rewarded by staking, as well as the project author.

Each address that stakes more than 1K DEV gets bonus 10DEV! Rewarded addresses will be listed 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📖

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

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

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