Polyfills middleware for Express, Connect, etc.
Uses the req, res, next
signature.
Simply add a <script src="/polyfill.js"></script>
to your HTML pages
and you've got all the polyfills you could ever need!
app.use(require('polyfills-middleware')(options))
Options are:
maxAge
- defaults to14 days
The other options are include
and exclude
.