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-core-module
Is this specifier a node.js core module?
inspect-js/is-regex
Is this value a JS regex?
inspect-js/is-arrow-function
Determine if a function is an ES6 arrow function or not.
inspect-js/is-data-descriptor
Returns true if a value has the characteristics of a valid JavaScript data descriptor.
inspect-js/is-negative-zero
Is this value negative zero? === will lie to you.
inspect-js/has-symbols
Determine if the JS environment has Symbol support. Supports spec, or shams.
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/is-map
Is this value a JS Map? This module works cross-realm/iframe, and despite %Symbol.toStringTag%.
inspect-js/typed-array-length
Robustly get the length of a Typed Array.
inspect-js/has-proto
Does this environment have the ability to set the [[Prototype]] of an object on creation with `__proto__`?
inspect-js/has-tostringtag
Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.
inspect-js/typed-array-byte-offset
Robustly get the byte offset of a Typed Array.
inspect-js/is-registered-symbol
Is this value a Symbol stored in the global cross-realm Symbol registry?
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-weakmap
Is this value a JS WeakMap? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
inspect-js/is-weakref
Is this value a JS WeakRef? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
inspect-js/is-weakset
Is this value a JS WeakSet? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
inspect-js/which-builtin-type
What is the type of this builtin JS value?
inspect-js/has-named-captures
Does the JS environment support named capture groups in regexes?
inspect-js/has-override-mistake
Determine whether the environment has the so-called "override mistake" - [[Set]]ing a property whose ancestor is nonwritable throws.
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-finalizationregistry
Is this value a JS FinalizationRegistry? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
inspect-js/is-whatwg-url
Is this value a WHATWG-standard URL object?
inspect-js/.github
.github repo for inspect-js org
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.