Search results
6000 packages found
ES spec-like internal slots
ES6 spec-compliant RegExp.prototype.flags shim.
A simple cache for a few of the JS Error constructors.
ES2019 spec-compliant String.prototype.trimEnd shim.
Give a regex, get a robust predicate function that tests it against a string.
Is this value a JS SharedArrayBuffer?
Is this value a JS ArrayBuffer?
Robustly get the length of a Typed Array
- typed
- array
- length
- robust
- es
- Int8Array
- Uint8Array
- Uint8ClampedArray
- Int16Array
- Uint16Array
- Int32Array
- Uint32Array
- Float32Array
- Float64Array
ES2017 spec-compliant Object.values shim.
A helper to optimistically set Symbol.toStringTag, when possible.
string representations of objects in node and the browser
An ES7/ES2016 spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.
ES5 spec-compliant shim for String.prototype.trim
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
`Object.defineProperty`, but not IE 8's broken one.
`Array.prototype.concat`, but made safe by ignoring Symbol.isConcatSpreadable
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
Standard library
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