npm install koa-polyfillsapp.use(require('koa-polyfills')())The options for the middleware, other than those passed directly to polyfills, are:
maxAge- the max age for the polyfill's cache control, defaulting to2 weeks
| Name | Name | Last commit date | ||
|---|---|---|---|---|
npm install koa-polyfillsapp.use(require('koa-polyfills')())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