eb

events-binding

EventEmitter with amqp style binding for messages

Showing:

Popularity

Downloads/wk

2

Maintenance

No Maintenance Data Available

Package

Dependencies

0

Size (min+gzip)

0.5KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

events-binding

EventEmitter with amqp style binding for messages

https://www.npmjs.org/package/events-binding

var Events = require('events-binding');

var events = new Events();

events
    .on('apple.iPhone.*', function() {
        console.log("iPhones", arguments);
    })
    .on('android.*', function() {
        console.log("android phones", arguments);
    });

events
    .emit('apple.iPhone.5', "iPhone 5") // OK
    .emit('android.nexus.5', "Nexus 5") // OK
    .emit('apple.iPad', "iPad air");    // No listener found (listener 'apple.*' would match)

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100