router4koa
v0.0.2
Published
provide a koa-router instance for singleton
Downloads
1
Readme
router4koa
Installation
$ npm install --save router4koa
Example
var router = require('router4koa')(opts);
router.get(...);
router.post(...);
...
var koa = require('koa');
var app = koa();
app.use(router.routes());