typesafe assertion library for TypeScript 3.7+
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
Robustly get the byte offset of a Typed Array
A simple list of possible Typed Array names.
Robustly get the byte length of a Typed Array
Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
Get the ArrayBuffer out of a TypedArray, robustly.
Returns an array of Typed Array names that are available in the current environment
Test if a value is a typed array.
Test if a value is a complex typed array.
minimalistic-assert ===
Assert that a Node-API value is a Node-API typed array.
The assert module from Node.js, for the browser.
Assert that two Node-API typed array data types are equal.
Generic options parameter handling.
Parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard
Synchronous validation of a path existing either as a file or as a directory.
correct invalid SPDX expressions
A robust, ES3 compatible, "has own property" predicate.
assert with status codes
Extra assertions on top of node's assert module
Is this value a JS ArrayBuffer?
Do things in development and nothing otherwise
A method for very basic nested type assertions
Automatic Type Assertions.
Optional Type Assertions for Ruby methods.
Type assertion library for method arguments
Optional Type Assertions for Ruby methods.
Antidote is a small, highly experimental library that performs runtime type assertions in Ruby
Rspec matchers for strucural type assertion. Compare values of array to have all expeted_type, hash's key and value are expeted type
Decorator style assertions and type check library for Contract programming.
Configurations provides a unified approach to do configurations with the flexibility to do everything from arbitrary configurations to type asserted configurations for your gem or any other ruby code.
Assay defines assertions in the same way that Ruby defines exceptions. Each type of asserition, called an assay, is then a child of the base Assertion class, which itself is a subclass of the Exception class.
Provides test assertions for the validity of various content types (i.e. HTML, XML CSS, etc).
Extend your Doorkeeper implementation adding a new grant type: assertion. And decoding JWT claim messages to generate access tokens.