Esprima-compatible implementation of the Mozilla JS Parser API
Standard assertion utilities.
Is this value a JS WeakSet? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Is this value a JS WeakMap? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Robustly get an object's own property keys (strings and symbols), including non-enumerables when possible
Array of "void elements" defined by the HTML specification.
Get and robustly cache all JS language-level intrinsics at first require time
TypeScript definitions for empower
Helper function for exhaustive checks of discriminated unions in TypeScript
ES2015-compliant shim for Number.isNaN - the global isNaN returns false positives.
A querystring parser that supports nesting and arrays, with a depth limit
Rich matchers inspired by Hamcrest. Useful for generating helpful assertion failure messages in tests.
parse SPDX license expressions
`AsyncIterator.prototype`, or a shared object to use.
If available, the `Object.prototype.__proto__` accessor and mutator, call-bound
Does this JS environment support the `name` property on functions?
ES6 spec-compliant RegExp.prototype.flags shim.
Store information about any JS value in a side channel. Uses WeakMap if available.
Which kind of Collection (Map, Set, WeakMap, WeakSet) is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
ES5 spec-compliant shim for String.prototype.trim
Store information about any JS value in a side channel, using a linked list
Resolve npm package details, like name and base path, given an absolute path to a file inside a package