@superjs/koa-router-dir
v1.1.0
Published
composite a dir to a router
Downloads
2
Maintainers
Readme
koa-router-dir
composite a dir to a router
Example
const Koa = require('koa')
const koaRouterDir = require('koa-router-dir');
const app = new Koa()
app.use(koaRouterDir(__dirname+'/routers'))