@sindresorhus/is
Type check values
Found 2038 results for assertion
Type check values
Error constructor for test and validation frameworks that implements standardized AssertionError specification.
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
simple, flexible, fun test framework
Lazy assertions without performance penalty
TypeScript implementation of invariant(condition, message)
A tiny javascript type testing tool
Function argument validation for humans
Node.js test runner that lets you develop with confidence.
Test if an object has a specified property.
Test if a value is an array.
Test if a value is a regular expression.
Test if a double-precision floating-point numeric value is NaN.
Test if a value is object-like.
Check two valid geojson geometries for equality.
Test if a value is a boolean.
Test if a value is a string.
Check if an environment is big endian.
Test if a value is a Buffer object.
Test if a double-precision floating-point numeric value is infinite.
Test if a value is a plain object.
Check two valid geojson geometries for equality.
Test if a value is a function.
Test if a value is a Uint32Array.
Test if a value is a Float64Array.
Test if a value is a Uint8Array.
Test if a value is a Uint16Array.
Test if a value is a regular expression string.
Check if an environment is little endian.
Test if a value is an object.
Power Assert feature enhancer for assert function/object
Test if a value is a Float32Array.
Test if a value is a number.
The powerful, easy-to-use testing framework.
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
ESLint rules for AVA
Assertion toolkit for Puppeteer.
Power Assert in JavaScript
Automated browser testing for the modern web development stack.
Power Assert output formatter
Power Assert feature enhancer for assert function/object
Chai plugin for JSON Schema v4
A tiny runtime library for type assertions
Babel plugin for power-assert
A port of Node v6's internal _deepEqual function in a universal style
Power Assert instrumentor from source to source, with source-map
Chai assertion that provides Jest's snapshot testing
Yet another JavaScript assertion/invariant library.
Power Assert feature instrumentor based on the ECMAScript AST
A forked of Chai 5 which adds Promise support in order to work with Nightwatch commands.
Power Assert feature instrumentor on the fly
Convert assert to power-assert on ESTree AST
Babel plugin for protecting against improper use of `t.throws()` in AVA
DOM assertions for the Chai assertion library using vanilla JavaScript
Shallow deep equal assertion for chai
Test if a finite double-precision floating-point number is an integer.
Test if a finite numeric value is an odd number.
Test if a double-precision floating-point numeric value is positive zero.
Test if a value is NaN.
Checks a given object against a given set of specifications to keep you from writing boilerplate tests.
Assert that the name of the current branch of a git repository has a particular value.
Assertion library for form validations
Test if a finite numeric value is an even number.
Test if a value is an Int32Array.
Test if a value is a number having a nonnegative integer value.
Test if a value is a number having an integer value.
Test if a value is a collection.
Test if an object's own property is enumerable.
Test if a value is a Uint8ClampedArray.
Test if a value is an Int16Array.
Assert a given object is a valid glob option
Encourages programming with assertions by providing tools to compile them away
Test if a double-precision floating-point numeric value is negative zero.
Assert utility from yeoman
Extensible BDD assertion toolkit
Test if a value is an Int8Array.
Test if a value is an arguments object.
Babel plugin for protecting against improper use of `t.throws()` in AVA
Test if a value is a number having a positive integer value.
Browserify transform for unassert: Encourages programming with assertions by providing tools to compile them away
Test if a value is an Error object.
Color assertions for chai
assertion library
Checks a given object against a given set of specifications to keep you from writing boilerplate tests.
Minimal JavaScript type checking library
Test if a value is an ArrayBuffer.
Standard assertion utilities.
provides snapshot testing like jest
Test whether a value has in its prototype chain a specified constructor as a prototype property.
Xml assertions for Chai
Plugin for validating API schemas from API documentation
Test if a value is a number having a positive value.
Extends chai with assertions that allow for floating point rounding errors
Test if a value is a complex number-like object.
Power Assert output renderers
Expect-like assertions that works seamlessly in node and browsers
Change assertions for the Chai assertion library
Test if a value is an array-like object.
jQuery assertions for the Chai assertion library
Test if a value is a Complex64Array.
Type check values: `is.string('🦄') //=> true`
Test if a value is array-like.
Test if a value is a typed array.
Test if a value is a complex typed array.
A chai assertion plugin for working with urls
Test if an array-like object supports the accessor (get/set) protocol.
Unexpected plugin for the messy library
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Backbone assertions for the Chai assertion library
Test if a value is a Complex128Array.
Test if a finite double-precision floating-point number is a nonnegative integer.
Ergonomic, modern and type-safe assertion library
Test if a value is an array-like object of numbers.
Testing and assertion library with friendly BDD syntax — awesome.must.be.true(). Many expressive matchers and is test runner and framework agnostic. Follows RFC 2119 with its use of MUST. Good and well tested stuff.
Test if a value is typed-array-like.
This module extends the [Unexpected](https://github.com/unexpectedjs/unexpected) assertion library with integration for the [Sinonjs](http://sinonjs.org/) mocking library.
A chai plugin to validate json files
Test if a finite double-precision floating-point number is a negative integer.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
Test if a value is a probability.
Chai assertions for Node.js filesystem
Assert on equality of json representations in Chai
Common assertions for Bats
Test if an array-like value contains a search value.
Adding .also chain in base library of chai-as-promised
Test if a finite double-precision floating-point number is a positive integer.
DOM plugin for the unexpected assertion libary
Test if a double-precision floating-point number is a probability.
Simple, intuitive and flexible unit testing framework for javascript / Node.js (browser and server). Integrates awesome assertions libraries like Must.js, Should.js, Assert of Node.js, Sinon.js and other friendly features (promise, IoC, plugins, ...).
Test if a value is an array-like object containing only nonnegative integers.
Drop-in replacement for expect that waits for the assertion to succeed (retries on an interval you choose, until a timeout you choose)
Validation utilities
Test if a value is an array of strings.
Test if a value is a number having a nonnegative value.
HTML assertions for Chai.
🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.
Test if a value is Node writable stream-like.
Type check values. This is a fork of sindresorhus/is, but with CommonJS support.
Check if the runtime is Node.js.
Test if a value is Node stream-like.
Test if a value is an array of probabilities that sum to one.
Assert that a Node-API value is a specified Node-API data type.
Check if the runtime is a web browser.
Because expected true, result false is not enough!
Add support to Unexpected for testing Map instances
Add support to Unexpected for testing Set instances
Test if a value is null.
Test if a value is a DataView.
C utilities for asserting that a Node-API call returns an "ok" status.
Assert that two Node-API data types are equal.
Assert that a Node-API value is a Node-API typed array.
Assert that two Node-API typed array data types are equal.
An assertion library for cucumber.js providing cucumber compatible failures instead of exceptions
Determine if a buffer length is compatible with provided ndarray meta data.
Test if an object has a specified method name, either own or inherited.
Assert values using Joi schemas
Strong Dynamically Typed Object Modeling for JavaScript
Test if a value is ndarray-like.
Test if a value is an array-like object containing only integers.
the lightest yet the fastest javascript testing library
A Chai plugin providing assertions on the order of Sinon spy calls
Test if a value is a URI.
complex type validators that generate TypeScript and Flow types for you
This module extends the [Unexpected](https://github.com/unexpectedjs/unexpected) assertion library with integration for [Knockout](http://knockoutjs.org).
Test if value is valid for fs.readFile option
A Cypress plugin to recursively search your intercepted requests/responses by key/value
node.js streams plugin for the Unexpected assertion library
Preconditions for safe coding
Simple utility to retry an erroring function until it succeeds
Extends Tape with new assertions
Array assertion helpers for the Chai assertion library
Test if a value is a semantic version string.
an assertion against a change to a value
Id equality assertions for chai
EventEmitter assertions for Unexpected
Test if a value is a string having an uppercase first character.
Comparison plugin for BDD assertion libraries (chai, should)
CSS Style assertions for elements, using Chai.js
An alternate jQuery assertion library for Chai.
JSX assertions for Jasmine
Make jest expect more convenient.
A small and simple library for asserting argument are the correct types
example.on('end', mustCall(() => {})); Check the callback function is called.
Test if a value is an empty array.
SlimIO is (JavaScript Primitives & Objects type checker)
Test if a value is iterator-like.
Assert deeply nested values in Jest
Jest-like snapshot feature for the rest of us + data-driven testing
Automated browser testing for the modern web development stack.
Ergonomic, modern and type-safe assertion library
Chai assertion library plugin to add `strictlyEqual` function and disable `equal`
Image metadata plugin for the Unexpected assertion library
Lightweight assertion testing framework
Run ava tests in the browser
Drop-in BDD helpers for AVA test runner 🌠
Test if a value is undefined or null.
A gulp plugin for power-assert
Test if a double-precision floating-point numeric value is finite.
JSX assertions for Chai
Browserify transform for power-assert
MagicPen plugin for the Unexpected assertion library
simple, flexible, fun test framework
Test if a single-precision floating-point numeric value is NaN.
Unit Testing for the PlugJS Build System ========================================
Cheerio assertions for the Chai assertion library
Test if a value is a gzip buffer.
A jest assertion that checks calls for count, order and informed parameters, all at once
Boolean indicating if the current process is running on Windows.
Validate if a value is a positive integer between 0 & Number.MAX_SAFE_INTEGER
Karma plugin for chai-equal-jsx
ESLint rules for tape
A utility library that provides borrowing mechanisms via assertion functions
Extensible type-aware assertion library
A simple and lightweight TypeScript type guard library for runtime type validation.
JSX React Element assertions for chai
is-any-type simple functionality alternative to check data type references such as typeof and instanceof
A composable matching/assertion/validation framework in Typescript that displays mismatches as diff trees
Async HTTP request wrapper
Supercool assertion library for Cypress
Assert (pretty) equality of Immutable.js iterables with unexpected
TypeScript assertion helpers
Test if an object has a specified property, either own or inherited.
Command line tool for power-assert
Assert that specific environment variables exist.
Tools for snapshotting, replaying, and mocking HTTP queries with Jest
Unexpected plugin for @dependable/state
a chai plugin for type assertions, support typescript
ESLint rules for tap
React assertions for the Chai assertion library
Assertion library written in TypeScript
Test if a value is a BooleanArray.
Runtime Verification Library for browsers and Node.js.
simple assertion module for checking function arguments
Mocha reporter that check the number of assertions
TypeScript predicates library
Test if a value is a BooleanArray.
Date comparison assertions for the Chai assertion library
jasmine-style 'expect' calls for mocha and other test frameworks
Powerful test inspection library
Helpers to easily write tests for React component/JSX code
Test if two double-precision floating-point numbers are the same value.
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Test if a single-precision floating-point numeric value is positive zero.
Test if two arguments are the same value.
Test if a value is a BigInt.
expect assertion on the runtime
Test if a value is a Date object.
Chai helper to include soft assertions on chai package
Extend Chai with assertions for Javascript generators