StackAid LogoStackAid Logo
/
inspect-js

Inspect JS

JavaScript value inspection tools.

Total received$5
Projects(11)

Determine if the JS environment has Symbol support. Supports spec, or shams.


Does this JS environment support the `name` property on functions?


Is this an ES6 generator function?


Is this an arguments object? It's a harder question than you think.


Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.


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.


Is this value a JS regex?


string representations of objects in node and the browser


Does the current JS environment have strict mode? ES5+ should; but let's not assume.


Is this specifier a node.js core module?


Funded by(7)$5

Shared with$0

No projects in this organization have any dependencies