Wondering what’s next for npm?Check out our public roadmap! »

    diplomat

    1.0.1 • Public • Published

    Diplomat

    Minimalistic zero-dependency pub/sub module.

    diplomat.on('some-event', (data) => {
        console.log(data);
    });
    
    diplomat.emit('some-event', {
        test: 1
    });
    

    Install

    npm i diplomat

    DownloadsWeekly Downloads

    4

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    25.9 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar