Check native type of value and throw AssertionError if not okey. Clean stack traces. Simplicity. Built on [is-kindof][].
Plugin for [minibase][] and [base][], that adds assertion methods - most of [assert-kindof][] methods and built-ins assert module.
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
A robust, ES3 compatible, "has own property" predicate.
Extra assertions on top of node's assert module
Is this value a JS ArrayBuffer?
Is this value a JS SharedArrayBuffer?
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
Is this specifier a node.js core module?
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.
Which kind of boxed JS primitive is this?
Robustly get the length of a Typed Array
What is the type of this builtin JS value?
`Object.defineProperty`, but not IE 8's broken one.
A helper to optimistically set Symbol.toStringTag, when possible.
ES Object-related atoms: Object, ToObject, RequireObjectCoercible
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
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.