Search results
483 packages found
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
Give a regex, get a robust predicate function that tests it against a string.
A helper to optimistically set Symbol.toStringTag, when possible.
Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
`Object.defineProperty`, but not IE 8's broken one.
ES2019 spec-compliant String.prototype.trimStart shim.
An ES7/ES2016 spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.
Robustly get the length of a Typed Array
- typed
- array
- length
- robust
- es
- Int8Array
- Uint8Array
- Uint8ClampedArray
- Int16Array
- Uint16Array
- Int32Array
- Uint32Array
- Float32Array
- Float64Array
A simple cache for a few of the JS Error constructors.
ES spec-compliant shim for ArrayBuffer.prototype.slice
- javascript
- ecmascript
- ArrayBuffer.prototype.slice
- polyfill
- shim
- ArrayBuffer
- array
- buffer
- ArrayBuffer#slice
- slice
- typed array
- es-shim API
Helper package to shim a method into `Array.prototype[Symbol.unscopables]`
Robustly get the byte offset of a Typed Array
- typed
- array
- byteOffset
- byte
- offset
- robust
- es
- Int8Array
- Uint8Array
- Uint8ClampedArray
- Int16Array
- Uint16Array
- Int32Array
- Uint32Array
- View more
Get the ArrayBuffer out of a TypedArray, robustly.
Robustly get the byte length of a Typed Array
- typed
- array
- byteLength
- byte
- length
- robust
- es
- Int8Array
- Uint8Array
- Uint8ClampedArray
- Int16Array
- Uint16Array
- Int32Array
- Uint32Array
- View more
`Array.prototype.concat`, but made safe by ignoring Symbol.isConcatSpreadable
ES2017 spec-compliant Object.entries shim.