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

0.0.4 • Public • Published

zept

🔭 Nodejs HTTP Library for performance

Installation

npm install --save-dev zept

Usage

const { zept } = require('zept');
const routes = [
  {
    path: '/',
    module: (req, res) => {
      res.end('Hello World');
    },
  },
  {
    path: '/book/:id',
    module: (req, res) => {
      res.end(req.params.id);
    },
  },
];

zept(routes).listen(3000);

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i zept

Weekly Downloads

8

Version

0.0.4

License

none

Unpacked Size

9.12 kB

Total Files

7

Last publish

Collaborators

  • do4ng