Skip to content

component/bus

Repository files navigation

Bus

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

Installation

$ npm install bus

API

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