# check-test

> Ergonomic assertion library

Latest version **0.0.2** (published 2017-04-06) · 0 weekly downloads

## Install

```sh
npm install check-test
pnpm add check-test
yarn add check-test
bun add check-test
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2017-04-06 |
| First published | 2017-04-04 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | inventables |

## Links

- npm: https://www.npmjs.com/package/check-test
- npm.io page: https://npm.io/package/check-test

## Dependencies (1)

- [esprima](https://npm.io/package/esprima.md) 2.6.0

## Recent versions

- 0.0.2 (latest) — 2017-04-06
- 0.0.1 — 2017-04-04

## README

# check

_“You better check yo self before you wreck yo self.” – Ice Cube_

---

**check** is a JavaScript assertion library with a very small API and an expectation syntax inspired by the way a developer would investigate the behavior of an app using the browser’s console or the `node` REPL.

#### Example usage

```js
var point = {
  x: 10,
  y: Math.exp(Math.PI) - Math.PI
};

check(point, function(point) {
  point.x === 10;
  point.y === 20;
});
```

#### Result

```
Error: Expected `point.y === 20`. Got `point.y`: 19.99909997918948.
```

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