ljharb

ljharb/es-abstract

ECMAScript spec abstract operations.

JavaScript
115
31
MIT License
Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of ljharb/es-abstract

Account's avatar
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Account's avatar
ES spec-compliant shim for ArrayBuffer.prototype.slice
Account's avatar
Returns an array of Typed Array names that are available in the current environment
Account's avatar
Robustly `.call.bind()` a function
Account's avatar
`Object.defineProperty`, but not IE 8's broken one.
Account's avatar
A simple cache for a few of the JS Error constructors.
Account's avatar
ES Object-related atoms: Object, ToObject, RequireObjectCoercible
Account's avatar
An ES2015 spec-compliant `Function.prototype.name` shim
Account's avatar
Get and robustly cache all JS language-level intrinsics at first require time
Account's avatar
Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.
Account's avatar
ECMAScript spec-compliant polyfill/shim for `globalThis`
Account's avatar
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
Account's avatar
Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.
Account's avatar
Does this environment have the ability to get the [[Prototype]] of an object on creation with `__proto__`?
Account's avatar
Determine if the JS environment has Symbol support. Supports spec, or shams.
Account's avatar
A robust, ES3 compatible, "has own property" predicate.
Account's avatar
Is this value a JS ArrayBuffer?
Account's avatar
Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.
Account's avatar
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Account's avatar
Is this value a JS SharedArrayBuffer?
Account's avatar
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Account's avatar
Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Account's avatar
string representations of objects in node and the browser
Account's avatar
An Object.keys replacement, in case Object.keys is not available. From https://github.com/es-shims/es5-shim
Account's avatar
ES6 spec-compliant Object.assign shim. From https://github.com/es-shims/es6-shim
Account's avatar
ES6 spec-compliant RegExp.prototype.flags shim.
Account's avatar
Give a regex, get a robust predicate function that tests it against a string.
Account's avatar
ES5 spec-compliant shim for String.prototype.trim
Account's avatar
ES2019 spec-compliant String.prototype.trimEnd shim.
Account's avatar
ES2019 spec-compliant String.prototype.trimStart shim.
Account's avatar
Robustly get the byte length of a Typed Array
Account's avatar
Robustly get the byte offset of a Typed Array
Account's avatar
Robustly get the length of a Typed Array
Account's avatar
Unbox a boxed JS primitive value.
Account's avatar
Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
Account's avatar
My shareable eslint config
Account's avatar
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v15.0.0’s categories, scripts, blocks, bidi, and other properties.
Account's avatar
Get the ArrayBuffer out of a DataView, robustly.
Account's avatar
Get the byteLength out of a DataView, robustly.
Account's avatar
A helper to optimistically set Symbol.toStringTag, when possible.
Account's avatar
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
Account's avatar
Get the byteOffset out of a DataView, robustly.
Account's avatar
ES spec-like internal slots
Account's avatar
Is this value negative zero? === will lie to you
Account's avatar
Is this value a JS DataView? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
Account's avatar
Is this value a JS Typed Array? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
Account's avatar
`Array.prototype.concat`, but made safe by ignoring Symbol.isConcatSpreadable
Account's avatar
A robust & optimized `Array.from` polyfill, based on the ECMAScript 6 specification.
Account's avatar
Get the ArrayBuffer out of a TypedArray, robustly.
Account's avatar
An ES5 spec-compliant `Array.prototype.filter` shim/polyfill/replacement that works as far down as ES3.

Support the repos that depend on this repository

Top contributors

ljharb's profile
ljharb
916 contributions
ExE-Boss's profile
ExE-Boss
15 contributions
gibson042's profile
gibson042
3 contributions
kumavis's profile
kumavis
3 contributions
erights's profile
erights
2 contributions
nickfyson's profile
nickfyson
1 contributions
ptomato's profile
ptomato
1 contributions
david-fong's profile
david-fong
1 contributions
sosukesuzuki's profile
sosukesuzuki
1 contributions
terrablue's profile
terrablue
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet