Inspect JS's repositories
object-inspect
string representations of objects in node and the browser
is-core-module
Is this specifier a node.js core module?
is-arrow-function
Determine if a function is an ES6 arrow function or not.
is-data-descriptor
Returns true if a value has the characteristics of a valid JavaScript data descriptor.
is-negative-zero
Is this value negative zero? === will lie to you.
has-symbols
Determine if the JS environment has Symbol support. Supports spec, or shams.
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.
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.
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.
available-typed-arrays
Returns an array of Typed Array names that are available in the current environment.
get-symbol-description
Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.
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.
which-builtin-type
What is the type of this builtin JS value?
array-buffer-byte-length
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
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.
is-whatwg-url
Is this value a WHATWG-standard URL object?
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.