Showing 1-20 of 23,344 packages
Helper function for exhaustive checks of discriminated unions in TypeScript
Like a Set, but provides the index of the `key` in the backing array
minimalistic-assert ===
The assert module from Node.js, for the browser.
Synchronous validation of a path existing either as a file or as a directory.
correct invalid SPDX expressions
Parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard
assert with status codes
Extra assertions on top of node's assert module
A robust, ES3 compatible, "has own property" predicate.
Is this value a JS ArrayBuffer?
Which kind of boxed JS primitive is this?
What is the type of this builtin JS value?
Is this value a JS SharedArrayBuffer?
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.
Robustly get the length of a Typed Array
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
`Object.defineProperty`, but not IE 8's broken one.
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.
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag