# @eeue56/ts-assert

> Assert, but typesafe in typescript

Latest version **0.0.2** (published 2021-11-06) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install @eeue56/ts-assert
pnpm add @eeue56/ts-assert
yarn add @eeue56/ts-assert
bun add @eeue56/ts-assert
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2021-11-06 |
| First published | 2021-11-06 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 17.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | eeue56 |
| Maintainers | eeue56 |
| Keywords | typescript, hiraeth, assert, testing |

## Links

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

## 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

- 0.0.2 (latest) — 2021-11-06
- 0.0.1 — 2021-11-06

## README

# ts-assert

Node's Assert module, but typesafe in Typescript.

Provides:

-   deepStrictEqual
-   strictEqual
-   notDeepStrictEqual
-   notStrictEqual

But all the actuals must match the type of expected, meaning your asserts are safe at the type level rather than just the data level.

## Install

```
npm install --save-dev @eeue56/ts-assert
```

## Usage

```typescript
import * as assert from "@eeue56/ts-assert";
```

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