0.0.15 • Published 10 months ago

zipadee v0.0.15

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

zipadee

Zipadee is a web server for node.js.

!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!

The zipadee package is a convenience wrapper around the Zipadee core library and several common middleware packages like @ziapdee/cors, @ziapdee/router, and @zipadee/static.

Usage

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

const app = new App();
const router = new Router();
router.get('/:file', async (req, res, next, params) => {
  const filePath = params.pathname.groups.file;
  await send(req, res, filePath, {root: 'files'});
});
app.use(cors());
app.use(router.routes());
app.listen();
0.0.15

10 months ago

0.0.14

12 months ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago