Skip to content

behnammodi/polyfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e27dd5a · Apr 2, 2022

History

99 Commits
Mar 30, 2021
Mar 30, 2021
Apr 2, 2022
May 2, 2021
Jul 16, 2021
Mar 31, 2021
Apr 3, 2021
Apr 30, 2021
Apr 1, 2021
Mar 31, 2021
Apr 17, 2021
Apr 1, 2021
Apr 6, 2021

Repository files navigation

Set of all Javascript polyfills

Help us to be best

Backers

Polyfill includes:

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

NPM

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

Array Polyfill:

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:

Date.prototype.toISOString;

Function Polyfill:

Function.prototype.name;

Math Polyfill:

Math.sign;
Math.trunc;

Number Polyfill:

Number.isInteger;

String Polyfill:

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:

Uint8Array.prototype.at;

window Polyfill:

window.requestIdleCallback;
window.cancelIdleCallback;
window.requestAnimationFrame;
window.cancelAnimationFrame;

Backers

Backers