buss
v1.0.0
Published
A tiny emitter for single, isolated events.
Downloads
7
Readme
buss
A tiny emitter for single, isolated events.
Installation
npm install buss
Usage
var buss = require('buss')
var data = buss()
function log(obj) {
console.log(obj) // => { foo: 'bar' }
}
data.receive(log)
data.send({ foo: 'bar' })
data.dispose(log)