1.3.1 • Published 6 years ago

koa-leaf v1.3.1

Weekly downloads
8
License
MIT
Repository
github
Last release
6 years ago

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);

Example

koa-leaf/example