Static file serving middleware. This module uses as dependency only core node.js modules. Position for this middleware do not important
Installation
$ npm install koa-static-api
API
var koa = ;var app = ;var staticFolder = app;
Options
cache
Browser cache max-age in milliseconds. Defaults to 'no-cache'root
root directory string. nothing above this root directory can be served. Defaults to '/public'index
index file. Defaults to 'index.html'
License
ISC