ECMAScript Shims
Repositories
-
Array.prototype.keys
An ES2015 spec-compliant `Array.prototype.keys` shim/polyfill/replacement that works as far down as ES3.
-
Array.prototype.values
An ES2015 spec-compliant `Array.prototype.values` shim/polyfill/replacement that works as far down as ES3.
-
Array.prototype.entries
An ES2015 spec-compliant `Array.prototype.entries` shim/polyfill/replacement that works as far down as ES3.
-
Array.prototype.flatMap
An ESnext spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.
-
Array.prototype.flat
An ESnext spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.
-
String.prototype.trimEnd
ES2019 spec-compliant String.prototype.trimEnd shim
-
String.prototype.trimStart
ES2019 spec-compliant String.prototype.trimStart shim
-
Array.prototype.map
Array.prototype.map spec-compliant polyfill
-
Object.values
ES2017 spec-compliant shim for Object.values
-
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.
-
Array.prototype.some
Array.prototype.some spec-compliant polyfill
-
Array.prototype.every
Array.prototype.every spec-compliant polyfill
-
Reflect.ownKeys
ES2015 spec-compliant shim for Reflect.ownKeys
-
es-shim-api
API contract, and rudimentary tests, for modules that conform to the *es-shim API*
-
Reflect.getPrototypeOf
An ES2015 mostly-spec-compliant `Reflect.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible.
-
es5-shim
ECMAScript 5 compatibility shims for legacy (and modern) JavaScript engines
-
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
-
String.prototype.replaceAll
Spec-compliant polyfill for String.prototype.replaceAll ESnext proposal.
-
Array.prototype.copyWithin
An ES2015 spec-compliant `Array.prototype.copyWithin` shim/polyfill/replacement that works as far down as ES3.
-
Function.prototype.name
ES6 spec-compliant Function.prototype.name shim.
-
globalThis
ECMAScript spec-compliant polyfill/shim for `globalThis`.
-
String.prototype.trim
ES5 spec-compliant shim for String.prototype.trim
-
Array.prototype.lastIndexOf
An ES2015 spec-compliant `Array.prototype.lastIndexOf` shim/polyfill/replacement that works as far down as ES3.
-
Array.prototype.indexOf
An ES2015 spec-compliant `Array.prototype.indexOf` shim/polyfill/replacement that works as far down as ES3.
-
String.prototype.split
String.prototype.split spec-compliant polyfill
-
Object.entries
ES2017 spec-compliant shim for Object.entries
-
String.prototype.matchAll
Spec-compliant polyfill for String.prototype.matchAll ESnext proposal.
-
Reflect.apply
An ES-spec-compliant Reflect.apply shim/polyfill/replacement that works as far down as ES3