node package manager

bus

Application-wide event bus

Bus

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

Installation

$ npm install bus

API

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