Search results
6000 packages found
Runtime library for TypeScript helper functions
Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
- array
- TypedArray
- typed array
- which
- typed
- Int8Array
- Uint8Array
- Uint8ClampedArray
- Int16Array
- Uint16Array
- Int32Array
- Uint32Array
- Float32Array
- Float64Array
- View more
ES6 spec-compliant RegExp.prototype.flags shim.
ES2017 spec-compliant Object.values shim.
ES spec-like internal slots
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.
- array
- TypedArray
- typed array
- is
- typed
- Int8Array
- Uint8Array
- Uint8ClampedArray
- Int16Array
- Uint16Array
- Int32Array
- Uint32Array
- Float32Array
- Float64Array
- View more
Returns an array of Typed Array names that are available in the current environment
- typed
- arrays
- Float32Array
- Float64Array
- Int8Array
- Int16Array
- Int32Array
- Uint8Array
- Uint8ClampedArray
- Uint16Array
- Uint32Array
- BigInt64Array
- BigUint64Array
Is this value negative zero? === will lie to you
Buffer List: collect buffers and access with a standard readable Buffer interface, streamable too!
Is this value a JS SharedArrayBuffer?
Is this value a JS ArrayBuffer?
ES5 spec-compliant shim for String.prototype.trim
ES proposal-spec-compliant Object.fromEntries shim.
- Object.fromEntries
- Object.entries
- Object.values
- Object.keys
- entries
- values
- ES7
- ES8
- ES2017
- shim
- object
- keys
- polyfill
- es-shim API
A helper to optimistically set Symbol.toStringTag, when possible.
Give a regex, get a robust predicate function that tests it against a string.
Load node modules according to tsconfig paths, in run-time or via API.
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.
A simple cache for a few of the JS Error constructors.
ES2019 spec-compliant String.prototype.trimStart shim.