Displaying 1 to 20 from 32 results

eventemitter3 - EventEmitter3 - Because there's also a number 2. And we're faster.

  •    Javascript

It's a drop in replacement for existing EventEmitters, but just faster. Free performance, who wouldn't want that? The EventEmitter is written in EcmaScript 3 so it will work in the oldest browsers and node versions that you need to support.We've upgraded the API of the EventEmitter.on, EventEmitter.once and EventEmitter.removeListener to accept an extra argument which is the context or this value that should be set for the emitted events. This means you no longer have the overhead of an event that required fn.bind in order to get a custom this value.

emittery - Simple and modern async event emitter

  •    Javascript

It's only ~200 bytes minified and gzipped. I'm not fanatic about keeping the size at this level though.Emitting events asynchronously is important for production code where you want the least amount of synchronous operations.

nanoevents - Simple and tiny (119 bytes) event emitter library for JavaScript

  •    Javascript

Simple and tiny event emitter library for JavaScript. Methods on returns unbind function. Call it and this listener will be removed from event.




ultron - Ultron is high-intelligence robot

  •    Javascript

Ultron is a high-intelligence robot. It gathers intelligence so it can start improving upon his rudimentary design. It will learn your event emitting patterns and find ways to exterminate them. Allowing you to remove only the event emitters that you assigned and not the ones that your users or developers assigned. This can prevent race conditions, memory leaks and even file descriptor leaks from ever happening as you won't remove clean up processes.Just like you would expect, it can also be chained together.

brcast - Tiny data broadcaster with 0 dependencies

  •    Javascript

It's like a data store you can subscribe to, with a setter to pump data in. For browsers and node.This project uses node and npm. Go check them out if you don't have them locally installed.


primus-emit - Emitting events between server and client.

  •    Javascript

The primus-emit module adds client->server and server->client event emitting to Primus.The --save flags tells npm to automatically add the package and it's installed version as dependency.

p-event - Promisify an event by waiting for it to be emitted

  •    Javascript

Useful when you need only one event emission and want to use it with promises or await it in an async function.If you want multiple individual events as they are emitted, this module is not for you, as a Promise is a single value. Instead, just continue using event callback or use Observables.

emit-stream - turn event emitters into streams and streams into event emitters

  •    Javascript

If x is a stream, returns an event emitter from emit.toStream(x).Otherwise returns a stream from emit.fromStream(x).

legiond - A secure distributed event layer for nodejs applications

  •    Javascript

Legiond is a secure distributed event layer for nodejs applications. Given a CIDR range, it automatically finds and connects to peers, forming a clustered EventEmitter. Legiond exposes a standard set of events which can be listened for, such as addition of a new node, removal of an existing node, etc. It also allows an application to register custom events and respond to them how it sees fit. More detail about custom events can be found below.###Standard Events The following are standard events provided by legiond. These events cannot be overwritten by custom user events.

eventify - Lightweight module that can be mixed in to any object in order to provide it with custom events

  •    Javascript

A 3.19 kB (1.4K gzipped) browser ready version is available on the dist/ folder. Copies the methods on, off and trigger to the destination object, and returns the destination object.

microee - A tiny EventEmitter-like client and server side library for routing events

  •    Javascript

A client and server side library for routing events. I was disgusted by the size of MiniEE (122 sloc, 4.4kb), so I decided a rewrite was in order.

eventreactor - EventEmitters on a syntax suger rush

  •    Javascript

EventReactor adds additional syntax sugar on top of your existing EventEmitters. It works on top of every EventEmitter inspired module, even EventEmitter2. The EventReactor was created to migrate repeating patterns when working EventEmitters. Before you can use the EventReactor you have to initialize it. This can be done by simply calling new EventReactor(). This will extend the default EventEmitter. If you don't want the EventEmitter to automatically extend the build-in EventEmitter or only want to use a subset of it's functionality you should supply the constructor with the manual option.

drip - An EventEmitter alternative for nodejs and the browser that supports namespacing and wildcards

  •    Javascript

An EventEmitter alternative for nodejs and the browser that supports namespaces and wildcards. drip is available on npm.

node-eventyoshi - Allows several event emitters to be listened and emitted through a single one.

  •    Javascript

Allows several event emitters to be handled and emitting to a single one. Well, you could do that, or you could let EventYoshi handle all the logic for you flawlessly and without modifying the underlying child event emitters. EventYoshi can be treated as another EventEmitter. You can pass it around without having to tell whoever you passed it to what emitters you're listening to and which you aren't listening to anymore.

js-concert - An event library for JavaScript and Node

  •    Javascript

Concert.js doesn't yet have a build ready for the browser, but you might be able to use Browserify to have it run there till then. Mix Concert in to your class's prototype to make each instance observable.

fwd - Forward one (emitter|stream)'s events to another. Filter with rules and functions on-the-fly.

  •    Javascript

Forward one (emitter|stream)'s events to another -> connect parts of your application whose interface you have no control over. This is compatible both with the node-core EventEmitter and with component/emitter.

node-redis-event - Distributed node.js event emitter based on redis pub/sub

  •    Javascript

Distributed node.js event emitter based on redis pub/sub. Supports channels (sort of namespaces). This code is heavily used 24x7 on a thousand-servers cluster, so it is production ready.