UNPKG

@toruslabs/broadcast-channel

Version:

A BroadcastChannel that works in New Browsers, Old Browsers, WebWorkers

37 lines (27 loc) 1.11 kB
<!-- This is a different REDME file which will be published to npm The one for GitHub is in .github directory. @link https://stackoverflow.com/a/65676410/3443137 The problem was that google indexed the npm-site instead of the github site --> <p align="center"> <a href="https://github.com/pubkey/broadcast-channel"> <img src="./docs/files/icon.png" width="150px" /> </a> </p> <h1 align="center">BroadcastChannel</h1> <p align="center"> <strong>A BroadcastChannel that works in old browsers, new browsers, WebWorkers and NodeJs</strong> <br/> <span>+ LeaderElection over the channels</span> </p> <p align="center"> <a href="https://twitter.com/pubkeypubkey"> <img src="https://img.shields.io/twitter/follow/pubkeypubkey.svg?style=social&logo=twitter" alt="follow on Twitter"></a> </p> ![demo.gif](docs/files/demo.gif) * * * A BroadcastChannel that allows you to send data between different browser-tabs or nodejs-processes. And a LeaderElection over the channels. # [Read the full documentation on github](https://github.com/pubkey/broadcast-channel)