proper-event-emitter

1.0.0 • Public • Published

proper-event-emitter

Build Status dependencies Status JavaScript Style Guide

Event emitter extension to handle event errors by throwing them in the global context

Node.js EventEmitter throws in the global context when errors occur in the scope of an event handler.

It is common to use the EventEmitter widely, not only in Node.js. Applications built for other environment rely on shimming to support this Node.js functionality out of the box. But, most shims used for EventEmitter do not handle event errors in the global context and leave their handling to the application layer.

This module abstracts the event handling errors from the application layer and throws them in the global context for other environments.

Install

npm i proper-event-emitter

API and Usage

You can check Node.js API docs.

Contribute

Feel free to dive in! Open an issue or submit PRs.

License

MIT © Vasco Santos

Readme

Keywords

none

Package Sidebar

Install

npm i proper-event-emitter

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.36 kB

Total Files

4

Last publish

Collaborators

  • vascosantos