@vladfrangu/async_event_emitter
TypeScript icon, indicating that this package has built-in type declarations

2.4.6 • Public • Published

@vladfrangu/async_event_emitter

Simple to use event emitter implementation with async support in mind.

GitHub codecov npm

Description

A very small, lightweight and simple re-implementation of event emitters, with support for async event handlers in mind.

Note: @vladfrangu/async_event_emitter requires Node.js v14 or higher to work, or a browser that has async/await support.

Features

  • TypeScript friendly
  • Offers CJS, ESM and UMD builds
  • Consistent interface with what is expected from an event emitter
  • Simple handling of asynchronous event handlers to allow waiting for their execution to finish if you want to exit the process

Buy me some doughnuts

Most of my projects are and always will be open source, even if I don't get donations. That being said, I know there are amazing people who may still want to donate just to show their appreciation. Thank you very much in advance!

I accept donations through Ko-fi, PayPal, Patreon and GitHub Sponsorships. You can use the buttons below to donate through your method of choice.

Donate With Address
GitHub Sponsors Click Here
Ko-fi Click Here
Patreon Click Here
PayPal Click Here

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.4.6144,406latest
2.4.7-next.676750d.02next

Version History

VersionDownloads (Last 7 Days)Published
2.4.6144,406
2.4.7-next.676750d.02
2.4.6-next.77ad774.058
2.4.6-next.154c197.00
2.4.55,617
2.4.411,503
2.4.5-next.4d3e73d.00
2.4.4-next.74d2d09.00
2.4.3893
2.4.3-next.eeb4849.00
2.4.27
2.4.2-next.ce4e323.07
2.4.1537
2.4.1-next.75c7e19.07
2.4.1-next.2f46e1a.07
2.4.02,520
2.4.0-next.c1b0f75.07
2.3.0904
2.3.1-next.a50001c.00
2.3.0-next.0f4029e.00
2.2.5-next.b6839ad.00
2.2.441,517
2.2.30
2.2.247,343
2.2.11,255
2.2.01
2.1.4417
2.1.326
2.1.22,967
2.1.11
2.1.00
2.0.1129
2.0.00
1.0.10

Package Sidebar

Install

npm i @vladfrangu/async_event_emitter

Weekly Downloads

155,545

Version

2.4.6

License

MIT

Unpacked Size

221 kB

Total Files

13

Last publish

Collaborators

  • vladfrangu