k2static

1.0.1 • Public • Published

k2static

Serve static files for koa.
serve-static wrapper for koa's middleware.

NPM version NPM Downloads Build status Test coverage Dependency status License

Install

$ npm install --save k2static

Usage

const koa = require('koa');
const serveStatic = require('k2static');
const app = new Koa();

app.use(serveStatic(root, options));

Readme

Keywords

Package Sidebar

Install

npm i k2static

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • zhaoxingyue
  • zhangyuang
  • langshu