Skip to content

MDN polyfills - from, forEach, filter, find, findIndex, assign, includes, create, of, repeat, startsWith, bind

Notifications You must be signed in to change notification settings

theohogberg/mdn-polyfills

 
 

Repository files navigation

Polyfills copy-pasted from MDN Build Status npm

MDN polyfills. A collection of side-effect ECMAScript modules. Minimized, mangled and extremely small thanks to Rollup - next-generation ES6 module bundler.

Installation

npm i mdn-polyfills --save

Polyfills

import 'mdn-polyfills/Object.assign'; // 330 bytes
import 'mdn-polyfills/Object.create'; // 328 bytes
import 'mdn-polyfills/Array.from'; // 840 bytes
import 'mdn-polyfills/Array.of'; // 107 bytes
import 'mdn-polyfills/Array.prototype.find'; // 358 bytes
import 'mdn-polyfills/Array.prototype.forEach'; // 356 bytes
import 'mdn-polyfills/Array.prototype.filter'; // 344 bytes
import 'mdn-polyfills/Array.prototype.findIndex'; // 390 bytes
import 'mdn-polyfills/Array.prototype.includes'; // 380 bytes
import 'mdn-polyfills/String.prototype.includes'; // 181 bytes
import 'mdn-polyfills/String.prototype.repeat'; // 532 bytes
import 'mdn-polyfills/String.prototype.startsWith'; // 145 bytes
import 'mdn-polyfills/Function.prototype.bind'; // 455 bytes
import 'mdn-polyfills/NodeList.prototype.forEach'; // 186 bytes
import 'mdn-polyfills/Element.prototype.closest'; // 269 bytes
import 'mdn-polyfills/Element.prototype.matches'; // 161 bytes

License

MIT © Michał Jezierski

About

MDN polyfills - from, forEach, filter, find, findIndex, assign, includes, create, of, repeat, startsWith, bind

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%