Use RPC to communicate easily across contexts in any JavaScript environment.
-
Updated
Jun 15, 2026 - TypeScript
Use RPC to communicate easily across contexts in any JavaScript environment.
Type-safe RPC for browser extensions with native Blob support via MessagePort
Worker Thread implementation with all required workerOptions and also used MessagePort to communicate between two threads.
MessagePort-based tRPC v11 transport for Electron
A type-safe Observable abstraction for bidirectional I/O.
Production-grade Electron multi-runtime RPC framework (utilityProcess + MessageChannelMain) with a built-in Debug Panel | 生产级 Electron 多进程 RPC 框架 + 调试面板
Promise-based iframe communication for TypeScript. A one-time postMessage handshake hands the iframe a private MessageChannel port; then send() / reply.accept() / reply.decline() over that MessagePort, with timeouts, heartbeat and auto-reconnect. Cross-origin, zero dependencies.
A simple package that allows you to simplify the use of MessagePort API more easily (Worker, IFrame...)
Turns a MessagePort into an remote procedure call (RPC) stub
Cross-domain EventDispatcher for MessagePort interface
Sandboxed iframe runtime for textmode.js.
To associate your repository with the messageport topic, visit your repo's landing page and select "manage topics."