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 helps multiple contexts decide which one should perform a shared task. It is useful for multi-tab synchronization, offline-first applications, shared state coordination, and browser apps that need to avoid duplicated background work.

Features

  • Cross-tab message broadcasting
  • Node.js process communication
  • Deno Deploy instance support
  • Client-side offline operation
  • Web Worker and iframe compatibility
  • Leader election over channels

Project Samples

Project Activity

See All Activity >

Categories

Communications

License

MIT License

Follow BroadcastChannel

BroadcastChannel Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of BroadcastChannel!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Communications Software

Registered

22 hours ago