1.1.0 • Published 1 year ago
@nwing/koa v1.1.0
Koa
koa wrapper
Installation
$ npm @nwing/koa
Usage
import Koa from '@nwing/koa';
import Router from 'koa-router';
(async ()=>{
const port = 8080;
const router = new Router();
const staticPath = '.';
await Koa(port,{router,staticPath})
})();
License
MIT