BroadcastChannel
BroadcastChannel to send data between different browser-tabs or nodejs
BroadcastChannel is a JavaScript library for sending messages between different browser tabs, Node.js processes, and Deno Deploy instances. It provides a consistent communication layer for environments that need cross-context coordination without relying on a server. The library works completely client-side and offline in supported browser use cases. It is tested across old browsers, modern browsers, Web Workers, iframes, and Node.js. It also includes leader election over channels, which...