koa-routen
v2.0.3
Published
An koa route initialization and configuration module.
Downloads
14
Readme
koa-enrouten
based on koa-router@7 Node version > 6
Usage
npm install koa-routen
const enrouten = require('koa-routen')
const Koa = require('koa')
const app = new Koa()
app.use(enrouten({ cwd: `${__dirname}/api` }))
Tests
$ npm test