PUB JS NPM

let sub = new Subsciber({    id: "sub_1",    topic: "topic_1",    callback: (state) => {        console.log(state);    }});
Crowded Cicada