An open API service indexing awesome lists of open source software.

https://github.com/behnammodi/polyfill

Set of all Javascript polyfills
https://github.com/behnammodi/polyfill

javascript javascript-polyfills polyfill

Last synced: 12 months ago
JSON representation

Set of all Javascript polyfills

Awesome Lists containing this project

README

          

# Set of all Javascript polyfills

Help us to be best

[![Backers](https://opencollective.com/polyfill/tiers/backers.svg?avatarHeight=114&width=838)](https://opencollective.com/polyfill)

## Polyfill includes:

Array, Date, Element, Function, Math, Number, String, Uint8Array and Window

## NPM

⚠️ We don't have any package in NPM!

### Array Polyfill:

```js
Array.from;
Array.isArray;
Array.of;
Array.prototype.at;
Array.prototype.copyWithin;
Array.prototype.entries;
Array.prototype.every;
Array.prototype.fill;
Array.prototype.filter;
Array.prototype.find;
Array.prototype.findIndex;
Array.prototype.flat;
Array.prototype.flatMap;
Array.prototype.forEach;
Array.prototype.includes;
Array.prototype.indexOf;
Array.prototype.keys;
Array.prototype.lastIndexOf;
Array.prototype.map;
Array.prototype.reduce;
Array.prototype.reduceRight;
Array.prototype.some;
Array.prototype.toLocaleString;
Array.prototype.values;
```

### Date Polyfill:

```js
Date.prototype.toISOString;
```

### Function Polyfill:

```js
Function.prototype.name;
```

### Math Polyfill:

```js
Math.sign;
Math.trunc;
```

### Number Polyfill:

```js
Number.isInteger;
```

### String Polyfill:

```js
String.fromCodePoint;
String.prototype.at;
String.prototype.codePointAt;
String.prototype.endsWith;
String.prototype.includes;
String.prototype.padEnd;
String.prototype.padStart;
String.prototype.repeat;
String.prototype.startsWith;
String.prototype.trim;
```

### Uint8Array Polyfill:

```js
Uint8Array.prototype.at;
```

### window Polyfill:

```js
window.requestIdleCallback;
window.cancelIdleCallback;
window.requestAnimationFrame;
window.cancelAnimationFrame;
```

## Backers

[![Backers](https://opencollective.com/polyfill/tiers/backers.svg?avatarHeight=114&width=838)](https://opencollective.com/polyfill)