Showing 1-20 of 13,427 packages
An assertion method to check if a sync or async function throws and assert on error properties.
The Assertion Library For Zoroaster Context Testing Framework Including Deep Equal & Assert Throws.
Node's builtin `assert.throws` does not work very well with rejecting promises or (equivalently) async functions.
parse SPDX license expressions
Parse the things that can be arguments to `npm install`
Soft Asserts JSON, Array and other data
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
Invariant and non-null/undefined assertion check with type guards
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
Is this value a JS ArrayBuffer?
A robust, ES3 compatible, "has own property" predicate.
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.