/bus

Event bus component

Primary LanguageJavaScript

Bus

Application-wide event bus component (a Singleton Emitter).

Installation

$ npm install bus

API

var bus = require('bus');
bus.emit('stuff');