# assert-equal

> Assert that two values are equal

Latest version **1.0.0** (published 2015-10-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install assert-equal
pnpm add assert-equal
yarn add assert-equal
bun add assert-equal
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-10-12 |
| First published | 2015-10-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ben Drucker |
| Maintainers | bendrucker |
| Keywords | assert, equal, strict, throw, error |

## Links

- npm: https://www.npmjs.com/package/assert-equal
- Repository: https://github.com/bendrucker/assert-equal
- Homepage: https://github.com/bendrucker/assert-equal#readme
- Issues: https://github.com/bendrucker/assert-equal/issues
- npm.io page: https://npm.io/package/assert-equal

## Dependencies (3)

- [assert-ok](https://npm.io/package/assert-ok.md) ~1.0.0
- [print-value](https://npm.io/package/print-value.md) ~1.0.0
- [simple-format](https://npm.io/package/simple-format.md) ~1.0.0

## Alternatives

- [@sentry/react-native](https://npm.io/package/@sentry/react-native.md) — 2.6M weekly downloads
- [@ardatan/aggregate-error](https://npm.io/package/@ardatan/aggregate-error.md) — 708.1K weekly downloads
- [custom-error-generator](https://npm.io/package/custom-error-generator.md) — 2.0K weekly downloads
- [@technik-sde/prosemirror-recreate-transform](https://npm.io/package/@technik-sde/prosemirror-recreate-transform.md) — 1.5K weekly downloads
- [@suchipi/error-utils](https://npm.io/package/@suchipi/error-utils.md) — 78 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2015-10-12

## README

# assert-equal [![Build Status](https://travis-ci.org/bendrucker/assert-equal.svg?branch=master)](https://travis-ci.org/bendrucker/assert-equal)

> Assert that two values are equal


## Install

```
$ npm install --save assert-equal
```


## Usage

```js
var assertEqual = require('assert-equal')

assertEqual(1, 1)
//=> (noop)

assertEqual(1, 2)
//=> throw new Error('expected `1` to equal `2`')
```

## License

MIT © [Ben Drucker](http://bendrucker.me)

---
_Source: https://npm.io/package/assert-equal · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
