inspect-js
Packages 59
Which regular expression flags does the current environment support?
published 1.0.0 6 months agoReturns an array of Typed Array names that are available in the current environment
published 1.0.5 10 months agoDoes this JS environment support the `name` property on functions?
published 1.2.3 3 months agoAn ES5 mostly-spec-compliant `Object.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible
published 2.0.0 2 years agoGets the description of a Symbol. Handles `Symbol()` vs `Symbol('')` properly when possible.
published 1.0.0 a year agoDoes the current environment have `import()` support?
published 2.0.1 7 months agocheck if the environment supports { ...a } spread syntax
published 1.0.0 4 years agoDetermine if the JS environment has optional chaining support
published 1.0.1 8 months agoDoes the current node version have support for the "exports" field in package.json?
published 1.3.0 3 months agoDoes the current node version have support for the "imports" field in package.json?
published 1.0.0 2 years agoDoes the current node version have support for requiring/importing its own name?
published 1.0.1 2 years agoDetermine if the JS environment has private fields (`class { #x; }`) support.
published 1.1.0 a year agoDoes the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.
published 1.0.0 3 months agoDoes the current JS environment have strict mode? ES5+ should; but let's not assume.
published 1.0.1 2 years agoDetermine if the JS environment has Symbol support. Supports spec, or shams.
published 1.0.3 4 months agoDetermine if the JS environment has template literal support.
published 1.0.1 2 years agoDetermine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.
published 1.0.0 a year agoIs this an arguments object? It's a harder question than you think.
published 1.1.1 a year agoDetermine if a function is an ES6 arrow function or not.
published 2.0.3 7 years agoDetermine if a function is a native async function.
published 2.0.0 3 months ago