koa-polyfills

2.0.0 • Public • Published

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

/koa-polyfills/

    Package Sidebar

    Install

    npm i koa-polyfills

    Weekly Downloads

    3

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • swatinem
    • jongleberry