Socket
Socket
Sign inDemoInstall

mdn-polyfills

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdn-polyfills

MDN polyfills


Version published
Weekly downloads
35K
decreased by-7.02%
Maintainers
1
Weekly downloads
 
Created
Source

https://msn0.github.io/mdn-polyfills

Polyfills copy-pasted from MDN Build Status npm dependencies

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

Object.assign

import 'mdn-polyfills/Object.assign'; // 317 bytes

Object.create

import 'mdn-polyfills/Object.create'; // 315 bytes

Object.entries

import 'mdn-polyfills/Object.entries'; // 166 bytes

Array.from

import 'mdn-polyfills/Array.from'; // 811 bytes

Array.of

import 'mdn-polyfills/Array.of'; // 94 bytes

Array.prototype.find

import 'mdn-polyfills/Array.prototype.find'; // 345 bytes

Array.prototype.forEach

import 'mdn-polyfills/Array.prototype.forEach'; // 343 bytes

Array.prototype.filter

import 'mdn-polyfills/Array.prototype.filter'; // 331 bytes

Array.prototype.findIndex

import 'mdn-polyfills/Array.prototype.findIndex'; // 377 bytes

Array.prototype.includes

import 'mdn-polyfills/Array.prototype.includes'; // 361 bytes

Array.prototype.some

import 'mdn-polyfills/Array.prototype.some'; // 372 bytes

String.prototype.includes

import 'mdn-polyfills/String.prototype.includes'; // 153 bytes

String.prototype.repeat

import 'mdn-polyfills/String.prototype.repeat'; // 519 bytes

String.prototype.startsWith

import 'mdn-polyfills/String.prototype.startsWith'; // 132 bytes

String.prototype.endsWith

import 'mdn-polyfills/String.prototype.endsWith'; // 163 bytes

String.prototype.padStart

import 'mdn-polyfills/String.prototype.padStart'; // 224 bytes

String.prototype.padEnd

import 'mdn-polyfills/String.prototype.padEnd'; // 220 bytes

Function.prototype.bind

import 'mdn-polyfills/Function.prototype.bind'; // 442 bytes

Node.prototype.append

import 'mdn-polyfills/Node.prototype.append'; // 433 bytes

Node.prototype.children

import 'mdn-polyfills/Node.prototype.children'; // 245 bytes

NodeList.prototype.forEach

import 'mdn-polyfills/NodeList.prototype.forEach'; // 173 bytes

Element.prototype.closest

import 'mdn-polyfills/Element.prototype.closest'; // 256 bytes

Element.prototype.matches

import 'mdn-polyfills/Element.prototype.matches'; // 133 bytes

MouseEvent

import 'mdn-polyfills/MouseEvent'; // 299 bytes

CustomEvent

import 'mdn-polyfills/CustomEvent'; // 303 bytes

License

The mdn-polyfills as a module is licensed under MIT © Michał Jezierski
Polyfills are licensed under https://developer.mozilla.org/en-US/docs/MDN/About#Copyrights_and_licenses

Keywords

FAQs

Package last updated on 15 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc