/tinyhttp

πŸ¦„ 0-legacy, tiny & fast web framework as a replacement of Express

Primary LanguageTypeScriptMIT LicenseMIT




tinyhttp

⚑ 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

You can donate with fiat or crypto here.

Sponsors


Deta

molefrog

Contributors ✨

Thanks goes to these wonderful people (emoji key):


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

πŸ’»

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