1.0.5 • Published 7 years ago

koa-browse v1.0.5

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

Koa-browse

Koa middleware for retrieving metadata and interacting with static files

Installation

npm install --save koa-browse

Requirements

Koa v2 is required, as well as native async support

Usage

const Koa = require('koa');
const { browse, dirList, sendFile, result } = require('koa-browse');

const app = new Koa();
app.use(browse({root: __dirname}))
  .use(dirList())
  .use(sendFile())
  .use(result());
1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago