Web Workers
Offload computation to background threads while keeping the UI responsive. Shows MessagePortChannel with React and Vite.
cmd-ipc includes several example projects demonstrating different use cases of the library. All examples can be found in the examples/ folder in the repository and is a complete, runnable application. More examples will be added over time.
Web Workers
Offload computation to background threads while keeping the UI responsive. Shows MessagePortChannel with React and Vite.
Electron
Type-safe IPC between main and renderer processes in desktop apps. Demonstrates shared schemas across processes.
Cloudflare Workers
HTTP-based commands with remote schema generation. Shows HTTPChannel for edge computing.
AI Agent MCP
Expose commands as AI agent tools via tool calling. Easily integrate with Vercel AI SDK, OpenAI, Anthropic, and other frameworks.