Skip to content

electron-trpc

Ergonomic and type-safe solution for building IPC in Electron

Main <-> Renderer

Expose APIs from Electron’s main process to every window automatically.

Fully type-safe IPC

Build Electron IPC with all the benefits of tRPC 11, including inferred client types.

Secure platform alternative to localhost

Electron IPC is faster and more secure than opening local servers for IPC.

Queries, mutations, and subscriptions

Supports tRPC’s procedures, including async generator subscriptions.