1. broadcast-channel
A BroadcastChannel that works in New Browsers, Old Browsers, WebWorkers, NodeJs, Deno and iframes
broadcast-channel
Package: broadcast-channel
Created by: pubkey
Last modified: Mon, 27 Nov 2023 22:46:54 GMT
Version: 7.0.0
License: MIT
Downloads: 7,979,515
Repository: https://github.com/pubkey/broadcast-channel

Install

npm install broadcast-channel
yarn add broadcast-channel

BroadcastChannel

A BroadcastChannel that works in old browsers, new browsers, WebWorkers and NodeJs and Deno
+ LeaderElection over the channels

follow on Twitter

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

Sponsored by

JavaScript Database

The JavaScript Database

Dependencies

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code