koa-router-scheme

0.0.9 • Public • Published

koa-router-scheme

Router Scheme middleware for Koa

Installation

https://npmjs.org/package/koa-router-scheme

$ npm install koa-router-scheme

Usage

const Koa = require('koa')
const routerScheme = require('koa-router-scheme')
 
const app = new Koa()
 
// router
app.use(routerScheme({ app, paths: '../../server/routers' }))
 
app.listen(10010)

License

MIT License

Dependents (0)

Package Sidebar

Install

npm i koa-router-scheme

Weekly Downloads

1

Version

0.0.9

License

MIT

Unpacked Size

3.63 kB

Total Files

4

Last publish

Collaborators

  • meizikeai