Skip to content

kkRPC

RPC Everything with TypeScript

Next steps

Property Access

Remote property getters and setters with dot notation (await api.prop, api.prop = value)

Enhanced Error Preservation

Complete error object preservation across RPC boundaries including stack traces and custom properties

HTTP

Call API over HTTP like calling local functions (similar to tRPC)

WebSocket

Call API over WebSocket (with callback support and bidirectional)

Web Worker

Bidirectional communication between Web Worker and main thread

iframe

Bidirectional communication between iframe and parent window

stdio

IPC over stdio between JavaScript/TypeScript processes (e.g. Node.js/Deno/Bun)

Chrome Extension

Communicate between content script and background script

Tauri

Call functions in bun/node/deno processes from Tauri app with JS/TS