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
- Host: GitHub
- URL: https://github.com/behnammodi/polyfill
- Owner: behnammodi
- License: mit
- Created: 2017-02-28T10:45:47.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-04-02T18:21:31.000Z (almost 4 years ago)
- Last Synced: 2024-10-29T16:26:27.686Z (over 1 year ago)
- Topics: javascript, javascript-polyfills, polyfill
- Language: JavaScript
- Homepage:
- Size: 121 KB
- Stars: 147
- Watchers: 9
- Forks: 38
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Set of all Javascript polyfills
Help us to be best
[](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
[](https://opencollective.com/polyfill)