tinyhttp
0-legacy, tiny & fast web framework as a replacement of Express
README
⚡ Tiny web framework as a replacement of Express
[![][site-badge]][site-url] [![npm][npm-img]][npm-url] [![GitHub Workflow Status][gh-actions-img]][github-actions] [![Coverage][cov-img]][cov-url] [![][donate-badge]][stakes-social] [![][code-quality-img]][code-quality]
_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.
- ```sh
- 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):
This project follows the all-contributors specification. Contributions of any kind welcome!
[site-url]: https://tinyhttp.v1rtl.site
[npm-url]: https://npmjs.com/package/@tinyhttp/app
[github-actions]: https://github.com/tinyhttp/tinyhttp/actions
[gh-actions-img]: https://img.shields.io/github/workflow/status/tinyhttp/tinyhttp/CI?style=for-the-badge&logo=github&label=&color=hotpink
[cov-img]: https://img.shields.io/coveralls/github/tinyhttp/tinyhttp?style=for-the-badge&color=hotpink
[cov-url]: https://coveralls.io/github/tinyhttp/tinyhttp
[code-quality-img]: https://img.shields.io/codefactor/grade/github/tinyhttp/tinyhttp?style=for-the-badge&color=hotpink
[code-quality]: https://www.codefactor.io/repository/github/tinyhttp/tinyhttp
[npm-img]: https://img.shields.io/npm/dt/@tinyhttp/app?style=for-the-badge&color=hotpink&logo=npm&label=
[site-badge]: https://img.shields.io/badge/website-open-hotpink?style=for-the-badge
[donate-badge]: https://img.shields.io/badge/donate-DEV-hotpink?style=for-the-badge
[stakes-social]: https://stakes.social/0x14308514785B216904a41aB817282d25425Cce39