0http
TypeScript icon, indicating that this package has built-in type declarations

3.5.3 • Public • Published

Introduction

NPM version NPM Total Downloads License TypeScript support Github stars

Zero friction HTTP framework:

  • Tweaked Node.js HTTP server for high throughput.
  • High-performance and customizable request routers.

Performance Benchmarks

Check it yourself: https://web-frameworks-benchmark.netlify.app/result?f=feathersjs,0http,koa,fastify,nestjs-express,express,sails,nestjs-fastify,restana

Usage

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:

More

Readme

Keywords

Package Sidebar

Install

npm i 0http

Weekly Downloads

4,647

Version

3.5.3

License

MIT

Unpacked Size

11.5 kB

Total Files

11

Last publish

Collaborators

  • jkyberneees