</>PackageGraphPackageGraph

assertion-error

npmv2.0.1TypeScript

Error constructor for test and validation frameworks that implements standardized AssertionError specification.

0
Weekly downloads
2
Dependents
0
Dependencies
4/100
Popularity

Overview

assertion-error is an npm package that error constructor for test and validation frameworks that implements standardized AssertionError specification. The latest version is 2.0.1, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need error constructor for test and validation frameworks that implements standardized AssertionError specification and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).
  • Zero runtime dependencies — minimal footprint.

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of assertion-error.

chai@types/chaiassertion-error
assertion-error dependencies dependents

Used by

Popular packages that depend on assertion-error.

Alternatives to assertion-error

@vitest/expectnpm

Jest's expect matchers as a Chai plugin

0/wk1 dependentsMITTS
chainpm

BDD/TDD assertion library for node.js and the browser. Test framework agnostic.

0/wk34 dependentsMIT
p-locatenpm

Get the first fulfilled promise that satisfies the provided testing function

267.3M/wk1 dependentsMITTS
ci-infonpm

Get details about the current Continuous Integration environment

116M/wk3 dependentsMITTS
invariantnpm

invariant

28.3M/wk8 dependentsMIT
expect-typenpm

[![CI](https://github.com/mmkal/expect-type/actions/workflows/ci.yml/badge.svg)](https://github.com/mmkal/expect-type/actions/workflows/ci.yml) ![npm](https://img.shields.io/npm/dt/expect-type) [![X Follow](https://img.shields.io/twitter/follow/mmkal)](ht

0/wk3 dependentsApache-2.0TS
@vitest/pretty-formatnpm

Fork of pretty-format with support for ESM

0/wk3 dependentsMITTS
is-globnpm

Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet

0/wk2 dependentsMIT
why-is-node-runningnpm

Node is running but you don't know why? why-is-node-running is here to help you.

0/wk1 dependentsMITTS
@vitest/runnernpm

Vitest test runner

0/wk4 dependentsMITTS
@jest/corenpm

Delightful JavaScript Testing.

0/wk2 dependentsMITTS
@vitest/mockernpm

Vitest module mocker implementation

0/wk3 dependentsMITTS

Frequently installed together

Version history

VersionPublishedLicense
2.0.1latest2 years agoMIT
2.0.04 years agoMIT
1.1.08 years agoMIT
1.0.210 years agoMIT
1.0.111 years agoMIT
1.0.013 years agoMIT
0.1.013 years agoMIT

Maintainers

Keywords

Frequently asked questions

How do I install assertion-error?

Run `npm install assertion-error` to add assertion-error to your npm project.

What license is assertion-error released under?

assertion-error is distributed under the MIT license.

How popular is assertion-error?

assertion-error has approximately 0 downloads per week and 2 known dependent packages.