koa-leaf
v1.3.1
Published
Leaf for Koa
Downloads
9
Readme
Koa-leaf
Installation
$ npm i koa-leaf -D
Usage
const path = require('path');
const Koa = require('koa');
const app = new Koa();
const leaf = require('leaf');
app.use(leaf(path.join(__dirname, 'api-docs')));
app.listen(3000);