Interesting service by Polyfill.io. Just include their polyfill.js
file and it’ll include a set of polyfills specifically for the browser used:
<script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
Polyfill.io reads the User-Agent header of each request and returns polyfills that are suitable for the requesting browser.
This one could come in handy for older projects that have gathered some dust over time (And that don’t use Babel/Babel Polyfill yet) .
This reminds me of Dean Edwards’ IE7.js from (way) back in the day 🙂