1.2.0 • Published 2 years ago
@dreamworld/sysend v1.2.0
Sysend
Installation
Using npm
npm install @dreamworld/sysend
or yarn
yarn add @dreamworld/sysend
Usage
import sysend from '@dreamworld/sysend';
//Listern for `custom-message` message
sysend.on('custom-message', function(message) {
//Handle on `custom-message` message
});
//Broadcast message
sysend.broadcast('custom-message', { message: `Hello` });
1.2.0
2 years ago
1.2.0-webpack-compatible.1
2 years ago
1.2.0-webpack-compatible.2
2 years ago
1.1.0
3 years ago
1.0.0
3 years ago