.github repo for inspect-js org
Dépôts
Dépôts de inspect-js
Get the ArrayBuffer out of a DataView, robustly.
Get the byteLength out of a DataView, robustly.
Get the byteOffset out of a DataView, robustly.
Does this JS environment support the `name` property on functions?
Determine if the JS environment has BigInt support.
Does the current node version have support for the "exports" field in package.json?
Does the current node version have support for requiring/importing its own name?
Does the current JS environment have strict mode? ES5+ should; but let's not assume.
Determine if the JS environment has Symbol support. Supports spec, or shams.
Determine if the JS environment has template literal support
Does the given package have TypeScript types?
Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.
Is this an arguments object? It's a harder question than you think.
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.
Determine if a function is an ES6 arrow function or not.
Is this an ES BigInt value?
Is this value a JS Boolean? This module works cross-realm/iframe, and despite ES6 @@toStringTag.