https://github.com/BackendStack21/0http
Zero friction HTTP requests router. The need for speed!
https://github.com/BackendStack21/0http
Last synced: about 1 month ago
JSON representation
Zero friction HTTP requests router. The need for speed!
- Host: GitHub
- URL: https://github.com/BackendStack21/0http
- Owner: BackendStack21
- License: mit
- Created: 2019-03-16T15:21:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-01-26T09:50:07.000Z (3 months ago)
- Last Synced: 2025-02-04T10:01:52.427Z (2 months ago)
- Language: JavaScript
- Homepage: https://0http.21no.de
- Size: 196 KB
- Stars: 159
- Watchers: 6
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- cuban-opensource - 0http
README
# Introduction
[](https://www.npmjs.com/package/0http)
[](https://www.npmjs.com/package/0http)
[](https://www.npmjs.com/package/0http)
[](https://www.npmjs.com/package/0http)
[](https://github.com/jkyberneees/0http)
![]()
Zero friction HTTP framework:
- Tweaked Node.js HTTP server for high throughput.
- High-performance and customizable request routers.
> Check it yourself: https://web-frameworks-benchmark.netlify.app/result?f=feathersjs,0http,koa,fastify,nestjs-express,express,sails,nestjs-fastify,restana
## Usage
```js
const cero = require('0http')
const { router, server } = cero()router.get('/hello', (req, res) => {
res.end('Hello World!')
})router.post('/do', (req, res) => {
// ...
res.statusCode = 201
res.end()
})//...
server.listen(3000)
```# Support / Donate 💚
You can support the maintenance of this project:
- PayPal: https://www.paypal.me/kyberneees
- [TRON](https://www.binance.com/en/buy-TRON) Wallet: `TJ5Bbf9v4kpptnRsePXYDvnYcYrS5Tyxus`# More
- Website and documentation: https://0http.21no.de