0.0.15 • Published 8 months ago

@zipadee/router v0.0.15

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@zipadee/router

!CAUTION Zipadee is very early, under construction, will change a lot, and may never be sufficiently maintained for any level of use. If you want to try it, please consider contributing!

Usage

import {App, Router, cors, send} from '@zipadee/core';

const app = new App();
const router = new Router();
router.get('/greet/:name', async (req, res, next, params) => {
  const name = params.pathname.groups.name;
  res.body = `Hello, ${name}!`;
});
app.use(router.routes());

app.listen();
0.0.15

8 months ago

0.0.14

10 months ago

0.0.12

10 months ago

0.0.13

10 months ago

0.0.11

11 months ago

0.0.10

11 months ago

0.0.9

11 months ago

0.0.8

11 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago