Export common predicates as asserts for testing
Fork of pretty-format with support for ESM
The assert module from Node.js, for the browser.
minimalistic-assert ===
Parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard
correct invalid SPDX expressions
Synchronous validation of a path existing either as a file or as a directory.
assert with status codes
A robust, ES3 compatible, "has own property" predicate.
Extra assertions on top of node's assert module
See nodejs errors with less clutter
Is this value a JS SharedArrayBuffer?
Is this value a JS ArrayBuffer?
Which kind of boxed JS primitive is this?
Prettifier for Pino log lines
What is the type of this builtin JS value?
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.
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
Is this specifier a node.js core module?
`Object.defineProperty`, but not IE 8's broken one.
Stringify any JavaScript value.
A helper to optimistically set Symbol.toStringTag, when possible.
Robustly get the length of a Typed Array
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.
Format the difference between two strings with ANSI colors
Easy E2E testing for Axum
Utilities to help test your CLI
Overwrite `assert_eq!` and `assert_ne!` with drop-in replacements, adding colorful diffs.
Wrapper around the `rust-pretty-assertions` crate that allows for the ability to sort the Debug output.
Wrapper around the `rust-pretty-assertions` crate that allows for the ability to sort the Debug output.