Inspect JS's repositories
object-inspect
string representations of objects in node and the browser
is-negative-zero
Is this value negative zero? === will lie to you.
is-array-buffer
Is this value a JS ArrayBuffer? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
which-typed-array
Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
is-typed-array
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.
which-collection
Which kind of Collection (Map, Set, WeakMap, WeakSet) is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
typed-array-length
Robustly get the length of a Typed Array.
available-regexp-flags
Which regular expression flags does the current environment support?
has-tostringtag
Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.
typed-array-byte-offset
Robustly get the byte offset of a Typed Array.
typed-array-buffer
Get the ArrayBuffer out of a TypedArray, robustly.
available-typed-arrays
Returns an array of Typed Array names that are available in the current environment.
has-dynamic-import
Does the current environment have `import()` support?
is-shared-array-buffer
Is this value a JS SharedArrayBuffer? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
is-weakmap
Is this value a JS WeakMap? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
is-weakset
Is this value a JS WeakSet? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
array-buffer-byte-length
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
data-view-buffer
Get the ArrayBuffer out of a DataView, robustly.
data-view-byte-length
Get the byteLength out of a DataView, robustly.
data-view-byte-offset
Get the byteOffset out of a DataView, robustly.
has-named-captures
Does the JS environment support named capture groups in regexes?
has-override-mistake
Determine whether the environment has the so-called "override mistake" - [[Set]]ing a property whose ancestor is nonwritable throws.
is-data-view
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.
node-exports-info
Info about node `exports` field support: version ranges, categories, etc.
typed-array-byte-length
Get the byte length of a Typed Array, even in engines without a `.byteLength` method.