javascript pub sub code example
Example: pub js npm
let sub = new Subsciber({ id: "sub_1", topic: "topic_1", callback: (state) => { console.log(state); }});
let sub = new Subsciber({ id: "sub_1", topic: "topic_1", callback: (state) => { console.log(state); }});