broadcast-channel
:satellite: BroadcastChannel to send data between different browser-tabs or nodejs-processes :satellite: + LeaderElection over the channels https://pubkey.github.io/broadcast-channel/
- 2k
- JavaScript
- MIT
- 2 d ago
:satellite: BroadcastChannel to send data between different browser-tabs or nodejs-processes :satellite: + LeaderElection over the channels https://pubkey.github.io/broadcast-channel/
Easy communication between cross-origin browser tabs. Simplified "CORS"ing!
Use RPC to communicate easily across contexts in any JavaScript environment.
:baby: ~1 Kb wrapper of window.postMessage for cross-document communication.
A tinny(~3kb) utility that can simplify cross window(iframes, workers, same origin windows) and electron main / renderer process communications
基于postMessage+BroadcastChannel+localStorage+互信域名的前端页面数据通信解决方案
A small library to make two-way communication between a VS Code extension host and a React webview simple and type‑safe. Supports both UDF reducer and RPC promises.