In any JavaScript environment, use RPC for easy cross-context communication.
-
Updated
Aug 30, 2025 - TypeScript
In any JavaScript environment, use RPC for easy cross-context communication.
A simple system for doing remote procedure calls (RPCs) in JS/TS.
Perform JavaScript operations from remote locations
This package provide simple function that allow to pass messages to separate script in different browsing context and get back result data as a Promise using Channel Messaging API.
PubSub in 20 lines with Broadcast Channels. (It can be done using MessageChannel for better compatibility.)
Communication between dedicated web workers in different browser windows
This is a lightweight module for implementing remote asynchronous function calls (RPC) between different scripts using various transports, like WebSockets. It allows calling functions on a remote API and routing responses with minimal configuration.
Add a description, image, and links to the messagechannel topic page so that developers can more easily learn about it.
To associate your repository with the messagechannel topic, visit your repo's landing page and select "manage topics."