nolanlawson

nolanlawson/throw-max-listeners-err...

Throw an error if the max number of EventEmitter listeners is exceeded

JavaScript
7
0
Apache License 2.0

The **throw‑max‑listeners‑error** package monkey‑patches Node’s built‑in `EventEmitter` so that any emitter that exceeds its `maxListeners` limit throws an exception instead of just emitting a warning. It’s intended for developers—especially test suites—to catch potential memory‑leak bugs early by turning the default “possible memory leak” warning into a hard error. Install it with npm and simply `require('throw-max-listeners-error')` to enable the behavior across your whole application.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

nolanlawson's profile
nolanlawson
8 contributions
NickColley's profile
NickColley
1 contributions
omsmith's profile
omsmith
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet