# @pacote/jest-either

> Jest matcher for Either objects.

Latest version **6.0.2** (published 2026-06-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pacote/jest-either
pnpm add @pacote/jest-either
yarn add @pacote/jest-either
bun add @pacote/jest-either
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 6.0.2 |
| Published | 2026-06-22 |
| First published | 2019-02-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | ^12.20.0 \|\| ^14.13.1 \|\| >=16.0.0 |
| Dependencies | 4 |
| Unpacked size | 116.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 18 |
| Author | Luís Rodrigues |
| Maintainers | goblindegook |
| Keywords | jest, matcher, test, either, fp, functional programming |

## Links

- npm: https://www.npmjs.com/package/@pacote/jest-either
- Repository: https://github.com/PacoteJS/pacote
- Homepage: https://github.com/PacoteJS/pacote#readme
- Issues: https://github.com/PacoteJS/pacote/issues
- npm.io page: https://npm.io/package/@pacote/jest-either

## Dependencies (4)

- [ramda](https://npm.io/package/ramda.md) ^0.31.3
- [jest-diff](https://npm.io/package/jest-diff.md) ^30.0.0
- [jest-matcher-utils](https://npm.io/package/jest-matcher-utils.md) ^30.0.0
- [@pacote/is-plain-object](https://npm.io/package/@pacote/is-plain-object.md) ^3.0.1

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 6.0.2 (latest) — 2026-06-22
- 6.0.1 — 2026-04-01
- 6.0.0 — 2026-03-31
- 5.1.1 — 2025-10-27
- 5.0.9 — 2025-02-25
- 5.0.8 — 2024-10-05
- 5.0.7 — 2023-08-25
- 5.0.6 — 2023-04-22
- 5.0.5 — 2023-04-13
- 5.0.4 — 2023-03-24
- 5.0.3 — 2022-09-02
- 5.0.1 — 2022-05-19
- 5.0.0 — 2021-08-13
- 4.0.9 — 2021-02-05
- 4.0.8 — 2020-11-27
- … 25 more at https://npm.io/package/@pacote/jest-either/versions

## README

# @pacote/jest-either

![version](https://badgen.net/npm/v/@pacote/jest-either)
![minified](https://badgen.net/bundlephobia/min/@pacote/jest-either)
![minified + gzip](https://badgen.net/bundlephobia/minzip/@pacote/jest-either)

Additional matchers for [Jest](https://jestjs.io) making it easier to test `Either` objects.

## Installation

```bash
yarn add @pacote/jest-either
```

## License

MIT © [Luís Rodrigues](https://goblindegook.com).

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