Package Exports
- koa-favicon
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (koa-favicon) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
koa-favicon 
Koa middleware for serving a favicon. Based on serve-favicon.
Installation
$ npm install koa-faviconExample
const Koa = require('koa');
const favicon = require('koa-favicon');
const app = new Koa();
app.use(favicon(__dirname + '/public/favicon.ico'));API
favicon(path, [options])
Returns a middleware serving the favicon found on the given path.
options
maxAgecache-control max-age directive in ms, defaulting to 1 day.mimespecify the mime-type of the favicon, defaults to "image/x-icon"
License
MIT