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
});

Package Sidebar

Install

npm i diplomat

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

25.9 kB

Total Files

5

Last publish

Collaborators

  • yak0