>_Skillful
Need help with advanced AI agent engineering?Contact FirmAdapt
ECMAScript Shims

ECMAScript Shims

Organization

@es-shims

A community host for shims and polyfills that are compliant to EcmaScript specs.

tc39.es/ecma262/ On GitHub since December 2013

54

Published Tools

7,343

Total Stars

20,203,742

Weekly Downloads

172

GitHub Followers

166

Public Repos

Published Tools

54 Skillsacross 1 category

es5-shim

ljharb

ECMAScript 5 compatibility shims for legacy JavaScript engines

SkillAI Tool
7.1K1 dir

disposablestack

ljharb

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

...more
SkillAI Tool
381 dir

string.prototype.replaceall

ljharb

Spec-compliant polyfill for String.prototype.replaceAll ESnext proposal

SkillAI Tool
361 dir

array.prototype.at

ljharb

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

SkillAI Tool
311 dir

es-iterator-helpers

ljharb

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

SkillAI Tool
201 dir

string.prototype.matchall

ljharb

Spec-compliant polyfill for String.prototype.matchAll

SkillAI Tool
171 dir

object.hasown

ljharb

ES spec-compliant shim for Object.hasOwn

SkillAI Tool
161 dir

es-aggregate-error

ljharb

ES Proposal spec-compliant shim for AggregateError

SkillAI Tool
141 dir

array.prototype.tosorted

ljharb

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

SkillAI Tool
101 dir

reflect.ownkeys

ljharb

ES2015 spec-compliant shim for Reflect.ownKeys

SkillAI Tool
61 dir

array.prototype.filter

ljharb

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

SkillAI Tool
41 dir

array.prototype.findlast

ljharb

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

SkillAI Tool
41 dir

array.prototype.map

ljharb

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

SkillAI Tool
41 dir

array.prototype.reduce

ljharb

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

SkillAI Tool
41 dir

object.groupby

ljharb

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

SkillAI Tool
41 dir

well-known-symbols

ljharb

An ESnext spec-compliant shim/polyfill/replacement for all Well-Known Symbols that works in any environment with Symbols.

...more
SkillAI Tool
41 dir

array.prototype.findlastindex

ljharb

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

SkillAI Tool
31 dir

object.getprototypeof

ljharb

An ES5 mostly-spec-compliant `Object.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible

SkillAI Tool
31 dir

reflect.getprototypeof

ljharb

An ES2015 mostly-spec-compliant `Reflect.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible

...more
SkillAI Tool
31 dir

suppressed-error

ljharb

ES Proposal spec-compliant shim for SuppressedError

SkillAI Tool
31 dir

typedarray.prototype.slice

ljharb

ES spec-compliant shim for TypedArray.prototype.slice

SkillAI Tool
31 dir

array.prototype.foreach

ljharb

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

SkillAI Tool
21 dir

es-set-tostringtag

ljharb

A helper to optimistically set Symbol.toStringTag, when possible.

SkillAI Tool
21 dir

math-intrinsics

ljharb

ES Math-related intrinsics and helpers, robustly cached.

SkillAI Tool
21 dir

dunder-proto

ljharb

If available, the `Object.prototype.__proto__` accessor and mutator, call-bound

SkillAI Tool
11 dir

array.prototype.toreversed

ljharb

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

SkillAI Tool
1 dir

arraybuffer.prototype.slice

ljharb

ES spec-compliant shim for ArrayBuffer.prototype.slice

SkillAI Tool
1 dir

symbol.prototype.description

ljharb

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

SkillAI Tool
1 dir

es7-shim

ljharb

ECMAScript 7 compatibility shims for legacy JavaScript engines

SkillAI Tool
1 dir

array.prototype.every

ljharb

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

SkillAI Tool
1 dir

array.prototype.flat

ljharb

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

SkillAI Tool
1 dir

array.prototype.flatmap

ljharb

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

SkillAI Tool
1 dir

array.prototype.some

ljharb

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

SkillAI Tool
1 dir

function.prototype.name

ljharb

An ES2015 spec-compliant `Function.prototype.name` shim

SkillAI Tool
1 dir

object.entries

ljharb

ES2017 spec-compliant Object.entries shim.

SkillAI Tool
1 dir

object.fromentries

ljharb

ES proposal-spec-compliant Object.fromEntries shim.

SkillAI Tool
1 dir

object.values

ljharb

ES2017 spec-compliant Object.values shim.

SkillAI Tool
1 dir

promise.allsettled

ljharb

ES Proposal spec-compliant shim for Promise.allSettled

SkillAI Tool
1 dir

promise.any

ljharb

ES 2021 spec-compliant shim for Promise.any

SkillAI Tool
1 dir

promise.prototype.finally

ljharb

ES Proposal spec-compliant shim for Promise.prototype.finally

SkillAI Tool
1 dir

regexp.prototype.flags

ljharb

ES6 spec-compliant RegExp.prototype.flags shim.

SkillAI Tool
1 dir

string.prototype.padend

ljharb

ES2017 spec-compliant String.prototype.padEnd shim.

SkillAI Tool
1 dir

string.prototype.padstart

ljharb

ES2017 spec-compliant String.prototype.padStart shim.

SkillAI Tool
1 dir

string.prototype.trim

ljharb

ES5 spec-compliant shim for String.prototype.trim

SkillAI Tool
1 dir

string.prototype.trimend

ljharb

ES2019 spec-compliant String.prototype.trimEnd shim.

SkillAI Tool
1 dir

string.prototype.trimleft

ljharb

ES2019 spec-compliant String.prototype.trimLeft shim.

SkillAI Tool
1 dir

string.prototype.trimright

ljharb

ES2019 spec-compliant String.prototype.trimLeft shim.

SkillAI Tool
1 dir

string.prototype.trimstart

ljharb

ES2019 spec-compliant String.prototype.trimStart shim.

SkillAI Tool
1 dir

@es-shims/api

ljharb

Loosely test a package's compliance with the es-shim API

SkillAI Tool
1 dir

array-includes

ljharb

An ES7/ES2016 spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.

SkillAI Tool
1 dir

is-nan

ljharb

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

SkillAI Tool
1 dir

object-is

ljharb

ES2015-compliant shim for Object.is - differentiates between -0 and +0

SkillAI Tool
20.2M/wk1 dir

object.getownpropertydescriptors

ljharb

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

SkillAI Tool
1 dir

typedarray

ljharb

TypedArray polyfill for old browsers

SkillAI Tool
1 dir