pusher in node js
1. install pusher npm i pusher 2. inport pusher const Pusher = require(“pusher”); 3. Initialize The pusher app details let pusher = new Pusher({ appId: “1357043”, key: “718b7cb5ef13acf494ed”, secret: “b8db8f3102c255fd9136”, cluster: “ap2”, }); 4. Trigger the channel pusher.trigger(“my-channel”, “my-event”, { message: “Hello world from pusher” });