Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

typescrpt-event-emitter

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

typescrpt-event-emitter

Versatile and feature-rich TypeScript library for event management, providing a solid foundation for building event-driven applications in TypeScript.

  • 1.0.0
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

typescript-event-emitter

Versatile and feature-rich TypeScript library for event management, providing a solid foundation for building event-driven applications in TypeScript.

main features

  1. Throttling and Debouncing:
    • flexibility for handling events in scenarios where rapid or frequent triggering needs to be controlled.
  2. Wildcard Listeners:
    • supporting wildcard listeners with the '*' namespace, allowing global event handling.
  3. Namespace Support:
    • namespace support is a great way to organize and manage different types of events within your system.
  4. Priority Queue:
    • prioritizing listeners based on a priority value ensures that critical listeners can be given precedence, offering more control over event execution order.
  5. Event Filtering:
    • the ability to filter events based on registered filters provides a mechanism for selectively emitting events.
  6. Async/Await Pattern:
    • leveraging async/await for asynchronous operations ensures that it can handle asynchronous listeners gracefully.
  7. Global Event Bus Integration:
    • the integration with a global event bus enhances the modularity and usability of event system.
  8. Error Handling:
    • logging errors to the console.

installation

CDN

usage

After installation the only thing you need to do is require the module:

....

Tests and benchmarks

contributing

Please read our Contribution Guidelines before contributing to this project.

security

Please read our SECURITY REPORTS

license

MIT

Keywords

FAQs

Package last updated on 10 Dec 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc