inspect-js
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
published version 1.0.2, 5 months agoWhich regular expression flags does the current environment support?
published version 1.0.4, a year agoReturns an array of Typed Array names that are available in the current environment
published version 1.0.7, a year agoGet the ArrayBuffer out of a DataView, robustly.
published version 1.0.2, 5 months agoGet the byteLength out of a DataView, robustly.
published version 1.0.2, 5 months agoGet the byteOffset out of a DataView, robustly.
published version 1.0.1, 5 months ago`deep-equal`, but only for JSON-supported values.
published version 1.0.1, 5 months agoDoes this JS environment support the `name` property on functions?
published version 1.2.3, 3 years agoAn ES5 mostly-spec-compliant `Object.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible
published version 2.0.0, 4 years agoGets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.
published version 1.1.0, 5 months agoDetermine if the JS environment has BigInt support.
published version 1.1.0, 5 months agoDoes the current environment have `import()` support?
published version 2.1.1, 5 months agoDoes the JS environment support named capture groups in regexes?
published version 1.0.0, a year agocheck if the environment supports { ...a } spread syntax
published version 1.0.0, 7 years agoDetermine if the JS environment has optional chaining support
published version 1.0.1, 3 years agoDetermine whether the environment has the so-called "override mistake" - [[Set]]ing a property whose ancestor is nonwritable throws.
published version 1.0.1, a year agoDoes the current node version have support for the "exports" field in package.json?
published version 1.3.0, 3 years agoDoes the current node version have support for the "imports" field in package.json?
published version 1.0.0, 5 years agoDoes the current node version have support for requiring/importing its own name?
published version 1.0.1, 5 years agoDetermine if the JS environment has private fields (`class { #x; }`) support.
published version 1.1.0, 4 years agoDoes the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.
published version 1.0.2, a year ago