# @brillout/reassert

> Assertion library - Feature-rich yet minimalistic.

Latest version **0.1.1** (published 2019-06-05) · 0 weekly downloads

## Install

```sh
npm install @brillout/reassert
pnpm add @brillout/reassert
yarn add @brillout/reassert
bun add @brillout/reassert
```

## 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.1.1 |
| Published | 2019-06-05 |
| First published | 2019-05-16 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 16.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Maintainers | brillout |

## Links

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

## Dependencies (1)

- [@brillout/format-text](https://npm.io/package/@brillout/format-text.md) ^0.1.3

## Recent versions

- 0.1.1 (latest) — 2019-06-05
- 0.1.0 — 2019-05-24
- 0.0.2 — 2019-05-17
- 0.0.1 — 2019-05-16

## README

This is an old Readme and lot's of features are missing documentation.


I assail my code with assertions and sometimes an assertion is wrong while the code itself is fine.


For these cases I don't want assert to stop execution in production.


Still, an exception is thrown in a `setTimeout` so that error logging can still be used.


In dev (`window.location.hostname==='localhost'` or `process.env['NODE_ENV'] !== 'production'`) `require('reassert')` behaves like expected and stops execution.


Check the source code for more information, it's only couples of lines.

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