# error-monkey

> An event emitter that emits error events for use in testing your server for resilience.

Latest version **0.0.1** (published 2014-05-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install error-monkey
pnpm add error-monkey
yarn add error-monkey
bun add error-monkey
```

## 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.0.1 |
| Published | 2014-05-22 |
| First published | 2014-05-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Gregg Caines |
| Maintainers | cainus |
| Keywords | chaos, error, resilience, monkey, domains |

## Links

- npm: https://www.npmjs.com/package/error-monkey
- Repository: https://github.com/cainus/error-monkey
- Issues: https://github.com/cainus/error-monkey/issues
- npm.io page: https://npm.io/package/error-monkey

## Alternatives

- [@sentry/react-native](https://npm.io/package/@sentry/react-native.md) — 2.6M weekly downloads
- [@ardatan/aggregate-error](https://npm.io/package/@ardatan/aggregate-error.md) — 708.1K weekly downloads
- [custom-error-generator](https://npm.io/package/custom-error-generator.md) — 2.0K weekly downloads
- [@technik-sde/prosemirror-recreate-transform](https://npm.io/package/@technik-sde/prosemirror-recreate-transform.md) — 1.5K weekly downloads
- [@suchipi/error-utils](https://npm.io/package/@suchipi/error-utils.md) — 78 weekly downloads

## Recent versions

- 0.0.1 (latest) — 2014-05-22

## README

error-monkey
============
[![Build
Status](https://secure.travis-ci.org/cainus/error-monkey.png?branch=master)](http://travis-ci.org/cainus/error-monkey)
[![Coverage Status](https://coveralls.io/repos/cainus/error-monkey/badge.png?branch=master)](https://coveralls.io/r/cainus/error-monkey)

An event emitter that emits error events for use in testing your server for resilience.

## Basic usage:

```javascript
var errorMonkey = require('error-monkey');
errorMonkey(30, 0.5);  
  // ^^^ every 30 seconds, there's a 50% chance of error

```

You can drop error-monkey at different places in your code to make sure
that your server can gracefully restart in the case of uncaught error events.

You want a graceful restart so that outstanding connections are not
unceremoniously dropped.

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