es-shims

es-shims

🏢 Organization

85 repositories on SrcLog

View on GitHub
85 Repos
7.9k Stars
1.1k Forks
7.9k Watchers

Repositories (85)

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

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

ES2017 spec-compliant shim for Object.entries

58
RegExp.escape es-shims/RegExp.escape JavaScript

An ESnext spec-compliant `RegExp.escape` shim/polyfill/replacement that works as far down as ES3.

44
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.

38
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.

32
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.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.

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
Object.getOwnPropertyDescriptors es-shims/Object.getOwnPropertyDescriptors JavaScript

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

20
iterator-helpers es-shims/iterator-helpers JavaScript

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

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

19
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

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

ES5 spec-compliant shim for String.prototype.trim

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

ES6 spec-compliant Function.prototype.name sham.

12
is-nan es-shims/is-nan JavaScript

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

12
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.

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

ES Proposal spec-compliant shim for Promise.withResolvers

9
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
RegExp.prototype.flags es-shims/RegExp.prototype.flags JavaScript

ES6 spec-compliant RegExp.prototype.flags shim

8
Set.prototype.intersection es-shims/Set.prototype.intersection JavaScript

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

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

Array.prototype.every spec-compliant polyfill

7
Set.prototype.difference es-shims/Set.prototype.difference JavaScript

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

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

ES2015 spec-compliant shim for Reflect.ownKeys

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

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

6
Number.isNaN es-shims/Number.isNaN JavaScript

A `Number.isNaN` polyfill, based on the ECMAScript 6 specification.

5