ECMAScript Shims
Grow your team on GitHub
GitHub is home to over 50 million developers working together. Join them to grow your own development teams, manage permissions, and collaborate on projects.
Sign upRepositories
-
es-shim-api
API contract, and rudimentary tests, for modules that conform to the *es-shim API*
-
Function.prototype.name
ES6 spec-compliant Function.prototype.name shim.
-
globalThis
ECMAScript spec-compliant polyfill/shim for `globalThis`.
-
object-is
ES6-compliant shim for Object.is - differentiates between -0 and +0, and can compare to NaN.
-
Object.fromEntries
Official ES proposal-compliant polyfill for Object.fromEntries
-
Object.getOwnPropertyDescriptors
Spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.
-
Object.entries
ES2017 spec-compliant shim for Object.entries
-
Object.values
ES2017 spec-compliant shim for Object.values
-
es5-shim
ECMAScript 5 compatibility shims for legacy (and modern) JavaScript engines
-
array-includes
Array.prototype.includes spec-compliant polyfill
-
Symbol.prototype.description
Spec-compliant shim for Symbol.prototype.description proposal.
-
AggregateError
ES Proposal spec-compliant shim for AggregateError
-
String.prototype.trimRight
ES2019 spec-compliant shim for String.prototype.trimRight.
-
String.prototype.trimLeft
ES2019 spec-compliant shim for String.prototype.trimLeft.
-
String.prototype.replaceAll
Spec-compliant polyfill for String.prototype.replaceAll ESnext proposal.
-
String.prototype.trimEnd
ES2019 spec-compliant String.prototype.trimEnd shim
-
String.prototype.trimStart
ES2019 spec-compliant String.prototype.trimStart shim
-
String.prototype.trim
ES5 spec-compliant shim for String.prototype.trim
-
String.prototype.padEnd
ES spec-compliant shim for String.prototype.padEnd
-
String.prototype.padStart
ES spec-compliant shim for String.prototype.padStart
-
String.prototype.split
String.prototype.split spec-compliant polyfill
-
String.prototype.matchAll
Spec-compliant polyfill for String.prototype.matchAll ESnext proposal.
-
Array.prototype.reduceRight
An ES5 spec-compliant `Array.prototype.reduceRight` shim/polyfill/replacement that works as far down as ES3.
-
Array.prototype.reduce
Array.prototype.reduce spec-compliant polyfill
-
Array.prototype.map
Array.prototype.map spec-compliant polyfill
-
Array.prototype.lastIndexOf
An ES2015 spec-compliant `Array.prototype.lastIndexOf` shim/polyfill/replacement that works as far down as ES3.
-
String.prototype.at
An ES-spec-compliant (proposed) `String.prototype.at`shim/polyfill/replacement that works as far down as ES3.
-
Array.prototype.at
An ES-spec-compliant (proposed) `Array.prototype.at`shim/polyfill/replacement that works as far down as ES3.
-
obsolete-String.prototype.at
Forked from mathiasbynens/String.prototype.atA robust & optimized ES3-compatible polyfill for the `String.prototype.at` proposal for ECMAScript 6/7.
-
Array.prototype.indexOf
An ES2015 spec-compliant `Array.prototype.indexOf` shim/polyfill/replacement that works as far down as ES3.