# @casual-simulation/expect

> The [expect](https://github.com/facebook/jest/tree/main/packages/expect) library from Jest but compatible with web browsers. You can find its documentation [on Jest's website](https://jestjs.io/docs/expect).

Latest version **4.0.0** (published 2026-01-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @casual-simulation/expect
pnpm add @casual-simulation/expect
yarn add @casual-simulation/expect
bun add @casual-simulation/expect
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2026-01-27 |
| First published | 2021-11-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Node | ^10.13.0 \|\| ^12.13.0 \|\| ^14.15.0 \|\| >=15.0.0 |
| Dependencies | 2 |
| Unpacked size | 537 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 61 |
| Maintainers | kallyngowdyyeti, casualsimulation |

## Links

- npm: https://www.npmjs.com/package/@casual-simulation/expect
- Repository: https://github.com/casual-simulation/casualos
- Homepage: https://github.com/casual-simulation/casualos#readme
- Issues: https://github.com/casual-simulation/casualos/issues
- npm.io page: https://npm.io/package/@casual-simulation/expect

## Dependencies (2)

- [@jest/types](https://npm.io/package/@jest/types.md) ^27.2.5
- [@casual-simulation/chalk](https://npm.io/package/@casual-simulation/chalk.md) ^4.0.0

## Recent versions

- 4.0.0 (latest) — 2026-01-27
- 4.0.1-alpha.21448844597 (alpha) — 2026-01-28
- 3.5.0-alpha.15494496163 (canary) — 2025-06-06
- 3.10.4-alpha.20934784018 — 2026-01-12
- 3.10.3 — 2026-01-07
- 3.10.3-alpha.20787554310 — 2026-01-07
- 3.10.2 — 2026-01-06
- 3.5.0 — 2025-06-06
- 3.5.0-alpha.15427068700 — 2025-06-03
- 3.5.0-alpha.15425950413 — 2025-06-03
- 3.5.0-alpha.15119114602 — 2025-05-19
- 3.5.0-alpha.15117651144 — 2025-05-19
- 3.1.28 — 2023-03-22
- 3.1.14-alpha.3661157217 — 2022-12-09
- 3.1.14-alpha.3633552440 — 2022-12-06
- … 16 more at https://npm.io/package/@casual-simulation/expect/versions

## README

# @casual-simulation/expect

The [expect](https://github.com/facebook/jest/tree/main/packages/expect) library from Jest but compatible with web browsers.
You can find its documentation [on Jest's website](https://jestjs.io/docs/expect).

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