Utilities for GraphQL documents.
Esprima-compatible implementation of the Mozilla JS Parser API
Is this value a JS Typed Array? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
Is this specifier a node.js core module?
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
`Object.defineProperty`, but not IE 8's broken one.
Robustly get the length of a Typed Array
A helper to optimistically set Symbol.toStringTag, when possible.
Is this value a JS DataView? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
ES Object-related atoms: Object, ToObject, RequireObjectCoercible
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Give a regex, get a robust predicate function that tests it against a string.
The URI implementation that is used by VS Code and its extensions
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Robustly get the byte offset of a Typed Array
A simple list of possible Typed Array names.
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Robustly get the byte length of a Typed Array
ECMAScript spec abstract operations.
Parse JavaScript one character at a time to look for snippets in Templates. This is not a validator, it's just designed to allow you to have sections of JavaScript delimited by brackets robustly.
Like a Set, but provides the index of the `key` in the backing array
Does this environment have the ability to get the [[Prototype]] of an object on creation with `__proto__`?
ES2015-compliant shim for Object.is - differentiates between -0 and +0
Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.