inspect-js


  • Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.

    published version 1.0.2, 5 months ago
  • Which regular expression flags does the current environment support?

    published version 1.0.4, a year ago
  • Returns an array of Typed Array names that are available in the current environment

    published version 1.0.7, a year ago
  • Get the ArrayBuffer out of a DataView, robustly.

    published version 1.0.2, 5 months ago
  • Get the byteLength out of a DataView, robustly.

    published version 1.0.2, 5 months ago
  • Get the byteOffset out of a DataView, robustly.

    published version 1.0.1, 5 months ago
  • node's assert.deepEqual algorithm

    published version 2.2.3, a year ago
  • `deep-equal`, but only for JSON-supported values.

    published version 1.0.1, 5 months ago
  • return the first argument that is `!== undefined`

    published version 1.0.1, 3 years ago
  • Does this JS environment support the `name` property on functions?

    published version 1.2.3, 3 years ago
  • An ES5 mostly-spec-compliant `Object.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible

    published version 2.0.0, 4 years ago
  • Gets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.

    published version 1.1.0, 5 months ago
  • Determine if the JS environment has BigInt support.

    published version 1.1.0, 5 months ago
  • Does the current environment have `import()` support?

    published version 2.1.1, 5 months ago
  • Does the JS environment support named capture groups in regexes?

    published version 1.0.0, a year ago
  • check if the environment supports { ...a } spread syntax

    published version 1.0.0, 7 years ago
  • Determine if the JS environment has optional chaining support

    published version 1.0.1, 3 years ago
  • Determine 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 ago
  • A robust, ES3 compatible, "has own property" predicate.

    published version 2.0.2, a year ago
  • Does the current node version have support for the "exports" field in package.json?

    published version 1.3.0, 3 years ago
  • Does the current node version have support for the "imports" field in package.json?

    published version 1.0.0, 5 years ago
  • Does the current node version have support for requiring/importing its own name?

    published version 1.0.1, 5 years ago
  • Determine if the JS environment has private fields (`class { #x; }`) support.

    published version 1.1.0, 4 years ago
  • Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.

    published version 1.0.2, a year ago
  • Does this environment have the ability to get the [[Prototype]] of an object on creation with `__proto__`?

    published version 1.2.0, 5 months ago
show more packages