odo-hub
4.0.3 • Public • Published Odo Hub
Simple pub sub with promises
const hub = require('odo-hub')();
hub.on('cheese', type => console.log(type))
hub.emit('cheese', 'brie')
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 4.0.3
1
Version History
Package Sidebar
Install
Weekly Downloads