Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.79 KB

README.md

File metadata and controls

47 lines (36 loc) · 1.79 KB

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