es-shims

es-shims

🏢 Organization

79 repositories on SrcLog

View on GitHub
79 Repos
7.8k Stars
1.1k Forks
7.8k Watchers

Repositories (79)

es5-shim es-shims/es5-shim JavaScript

ECMAScript 5 compatibility shims for legacy (and modern) JavaScript engines

7.1k
Promise.allSettled es-shims/Promise.allSettled JavaScript

ES Proposal spec-compliant shim for Promise.allSettled

97
Object.values es-shims/Object.values JavaScript

ES2017 spec-compliant shim for Object.values

71
Object.entries es-shims/Object.entries JavaScript

ES2017 spec-compliant shim for Object.entries

55
array-includes es-shims/array-includes JavaScript

Array.prototype.includes spec-compliant polyfill

43
DisposableStack es-shims/DisposableStack JavaScript

An ESnext spec-compliant `DisposableStack`, `AsyncDisposableStack`, `Symbol.dispose`, and `Symbol.asyncDispose` shim/polyfill/replacement that works as far down as ES3.

34
Array.prototype.flatMap es-shims/Array.prototype.flatMap JavaScript

An ESnext spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.

33
Array.prototype.flat es-shims/Array.prototype.flat JavaScript

An ESnext spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.

31
Array.prototype.group es-shims/Array.prototype.group JavaScript

An ESnext spec-compliant `Array.prototype.group` shim/polyfill/replacement that works as far down as ES3.

27
Array.prototype.at es-shims/Array.prototype.at JavaScript

An ES-spec-compliant (proposed) `Array.prototype.at`shim/polyfill/replacement that works as far down as ES3.

26
iterator-helpers es-shims/iterator-helpers JavaScript

An ESnext spec-compliant iterator helpers shim/polyfill/replacement that works as far down as ES3.

20
Object.getOwnPropertyDescriptors es-shims/Object.getOwnPropertyDescriptors JavaScript

Spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.

20
error-cause es-shims/error-cause JavaScript

An ES-spec-compliant shim/polyfill/replacement for the `.cause` property on all Error types that works as far down as ES3

17
String.prototype.matchAll es-shims/String.prototype.matchAll JavaScript

Spec-compliant polyfill for String.prototype.matchAll, in ES2020

17
AggregateError es-shims/AggregateError JavaScript

ES Proposal spec-compliant shim for AggregateError

15
String.prototype.trim es-shims/String.prototype.trim JavaScript

ES5 spec-compliant shim for String.prototype.trim

13
is-nan es-shims/is-nan JavaScript

ES6-compliant shim for Number.isNaN - the global isNaN returns false positives.

11
Array.prototype.groupToMap es-shims/Array.prototype.groupToMap JavaScript

An ESnext spec-compliant `Array.prototype.groupToMap` shim/polyfill/replacement that works as far down as ES3.

10
Function.prototype.name es-shims/Function.prototype.name JavaScript

ES6 spec-compliant Function.prototype.name sham.

10
Promise.withResolvers es-shims/Promise.withResolvers JavaScript

ES Proposal spec-compliant shim for Promise.withResolvers

8
array-from-async es-shims/array-from-async JavaScript

An implementation for Array.fromAsync, which dumps an async iterator into an array.

8
String.prototype.trimRight es-shims/String.prototype.trimRight JavaScript

ES2019 spec-compliant shim for String.prototype.trimRight.

8
Array.prototype.every es-shims/Array.prototype.every JavaScript

Array.prototype.every spec-compliant polyfill

8
Reflect.ownKeys es-shims/Reflect.ownKeys JavaScript

ES2015 spec-compliant shim for Reflect.ownKeys

7
Symbol.prototype.description es-shims/Symbol.prototype.description JavaScript

Spec-compliant shim for Symbol.prototype.description proposal.

6
String.prototype.trimEnd es-shims/String.prototype.trimEnd JavaScript

ES2019 spec-compliant String.prototype.trimEnd shim

6
String.prototype.trimStart es-shims/String.prototype.trimStart JavaScript

ES2019 spec-compliant String.prototype.trimStart shim

5
Number.isInteger es-shims/Number.isInteger JavaScript

An ES-spec-compliant Number.isInteger shim/polyfill/replacement that works as far down as ES3

5
Array.prototype.indexOf es-shims/Array.prototype.indexOf JavaScript

An ES2015 spec-compliant `Array.prototype.indexOf` shim/polyfill/replacement that works as far down as ES3.

5
Array.prototype.filter es-shims/Array.prototype.filter JavaScript

Simple ES6 Array.prototype.filter polyfill for older environments.

5