New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

error-monkey

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

error-monkey

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

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

error-monkey

Build
Status Coverage Status

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

Basic usage:

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.

Keywords

chaos

FAQs

Package last updated on 22 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts