Skip to content

polyfills/koa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Koa Polyfills

NPM version Build status Test coverage Dependency Status License Downloads Gittip

Polyfills middleware for koa.

Usage

npm install koa-polyfills
app.use(require('koa-polyfills')())

API

app.use(polyfills([options]))

The options for the middleware, other than those passed directly to polyfills, are:

  • maxAge - the max age for the polyfill's cache control, defaulting to 2 weeks