1.0.1 • Published 7 years ago
k2static v1.0.1
k2static
Serve static files for koa.
serve-static wrapper for koa's middleware.
Install
$ npm install --save k2static
Usage
const koa = require('koa');
const serveStatic = require('k2static');
const app = new Koa();
app.use(serveStatic(root, options));