# qcheck

> qcheck is a library to support testing by generating random test cases.

Latest version **0.5.0** (published 2021-06-14) · SEE LICENSE IN LICENSE license · 0 weekly downloads

## Install

```sh
npm install qcheck
pnpm add qcheck
yarn add qcheck
bun add qcheck
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.0 |
| Published | 2021-06-14 |
| First published | 2017-09-19 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 33.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | wiinuk |
| Maintainers | wiinuk |

## Links

- npm: https://www.npmjs.com/package/qcheck
- Repository: https://github.com/wiinuk/qcheck
- Homepage: https://github.com/wiinuk/qcheck#readme
- Issues: https://github.com/wiinuk/qcheck/issues
- npm.io page: https://npm.io/package/qcheck

## Dependencies (1)

- [wiinuk-extensions](https://npm.io/package/wiinuk-extensions.md) ^0.2.0

## Recent versions

- 0.5.0 (latest) — 2021-06-14
- 0.4.0 — 2021-06-08
- 0.3.0 — 2021-06-08
- 0.2.0 — 2021-06-08
- 0.1.4 — 2021-06-08
- 0.1.3 — 2021-06-08
- 0.1.2 — 2021-06-08
- 0.1.1 — 2021-06-08
- 0.1.0 — 2021-06-07
- 0.0.3 — 2017-09-21
- 0.0.2 — 2017-09-20
- 0.0.1 — 2017-09-19

## README

# qcheck

qcheck is a library to support testing by generating random test cases.

## Installation

```sh
npm install --save-dev qcheck
```

## Usage

```js
const q = require("qcheck");
q.interface_({
  name: q.string,
  age: q.number,
}).check((person) => {
  assert.typeOf(person, "object");
  assert.typeOf(person.age, "number");
  assert.typeOf(person.name, "string");
});

```

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