koa-leaf

1.3.1 • Public • Published

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

Package Sidebar

Install

npm i koa-leaf

Weekly Downloads

1

Version

1.3.1

License

MIT

Unpacked Size

5.39 kB

Total Files

4

Last publish

Collaborators

  • febear
  • forsigner
  • viko16