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')

    Keywords

    Install

    npm i odo-hub

    DownloadsWeekly Downloads

    26

    Version

    4.0.3

    License

    MIT

    Unpacked Size

    2.75 kB

    Total Files

    5

    Last publish

    Collaborators

    • ajnisbet
    • ascendzor
    • tcoats
    • tornadot-tim