Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tinyhttp/tinyhttp

πŸ¦„ 0-legacy, tiny & fast web framework as a replacement of Express
https://github.com/tinyhttp/tinyhttp

backend es6 es6-javascript esm esnext express-js hacktoberfest http http-server javascript javascript-framework node-js nodejs nodejs-frameworks nodejs-server typescript web webframework

Last synced: 7 days ago
JSON representation

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

Awesome Lists containing this project

README

        





tinyhttp

⚑ 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] [![][code-quality-img]][code-quality]




_**tinyhttp**_ is a modern [Express](https://expressjs.com/)-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

- ⚑
[58% faster](https://web-frameworks-benchmark.netlify.app/result?f=tinyhttp,express)
than Express
- βš™ Express middleware compat
- β†ͺ Async middleware support
- β˜‘ ESM-only
- πŸš€ No legacy dependencies, just the JavaScript itself
- πŸ”¨ Types out of the box
- πŸ”₯ Prebuilt middleware for modern Node.js

Visit [tinyhttp website](https://tinyhttp.v1rtl.site) for docs, guides and
middleware search.

## Install

[Node.js 14.21.3+](https://node.green/#ES2022) is required.

```sh
pnpm i @tinyhttp/app
```

## Donate

You can donate with fiat or crypto
[here](https://github.com/tinyhttp/tinyhttp?sponsor=1).

## Sponsors



Deta

molefrog

## Contributing

There are many ways to contribute:

- [Submit bugs or feature requests](https://github.com/tinyhttp/tinyhttp/issues)
- Adding a new feature or addressing bugs yourself
- Review [documentation](https://tinyhttp.v1rtl.site/) and fix typos or add new
content

For ways to contribute, please see the
[documentation](https://github.com/tinyhttp/tinyhttp/blob/master/CONTRIBUTING.md).

[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/actions/workflow/status/tinyhttp/tinyhttp/main.yml?branch=master&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