Pinned Repositories
is-arrow-function
Determine if a function is an ES6 arrow function or not.
is-callable
Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.
is-core-module
Is this specifier a node.js core module?
is-equal
Are these two values conceptually equal?
is-generator-function
Is this an ES6 generator function?
is-regex
Is this value a JS regex?
node-deep-equal
node's assert.deepEqual algorithm
object-inspect
string representations of objects in node and the browser
which-boxed-primitive
Which kind of boxed JS primitive is this?
which-typed-array
Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
Inspect JS's Repositories
inspect-js/object-inspect
string representations of objects in node and the browser
inspect-js/is-generator-function
Is this an ES6 generator function?
inspect-js/is-core-module
Is this specifier a node.js core module?
inspect-js/is-async-function
Is this a native `async function`?
inspect-js/is-negative-zero
Is this value negative zero? === will lie to you.
inspect-js/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.
inspect-js/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.
inspect-js/which-typed-array
Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
inspect-js/has-bigints
Determine if the JS environment has BigInt support.
inspect-js/hastypes
Does the given package have TypeScript types?
inspect-js/typed-array-length
Robustly get the length of a Typed Array.
inspect-js/is-boolean-object
Is this value a JS Boolean? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
inspect-js/available-regexp-flags
Which regular expression flags does the current environment support?
inspect-js/has-strict-mode
Does the current JS environment have strict mode? ES5+ should; but let's not assume.
inspect-js/typed-array-byte-offset
Robustly get the byte offset of a Typed Array.
inspect-js/typed-array-buffer
Get the ArrayBuffer out of a TypedArray, robustly.
inspect-js/available-typed-arrays
Returns an array of Typed Array names that are available in the current environment.
inspect-js/get-symbol-description
Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.
inspect-js/is-set
Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
inspect-js/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.
inspect-js/is-weakref
Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
inspect-js/array-buffer-byte-length
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
inspect-js/data-view-buffer
Get the ArrayBuffer out of a DataView, robustly.
inspect-js/data-view-byte-length
Get the byteLength out of a DataView, robustly.
inspect-js/data-view-byte-offset
Get the byteOffset out of a DataView, robustly.
inspect-js/has-typed-arrays
Determine if the JS environment has Typed Arrays.
inspect-js/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.
inspect-js/is-well-known-symbol
Is this value a well-known Symbol?
inspect-js/node-exports-info
Info about node `exports` field support: version ranges, categories, etc.
inspect-js/typed-array-byte-length
Get the byte length of a Typed Array, even in engines without a `.byteLength` method.