/electron-typed-bridge

End-to-end typesafe Electron IPC (Inter-Process Communication).

Primary LanguageTypeScriptMIT LicenseMIT

electron-typed-bridge

End-to-end typesafe Electron IPC (Inter-Process Communication).

Overview

Electron consists of two types of processes (main - Node.js environment and renderer - responsible for rendering web content) and relies on IPC channels to communicate between main and renderer processes. Nevertheless, setting IPC to run correctly and safely is tedious and challenging, especially for large applications.

electron-typed-bridge allows you to easily build & consume typesafe IPC channels with Typescript.

  • 🧙‍♂️ Full static typesafety & autocompletion with Typescript.
  • ✅ Well-tested and production ready.
  • 🥃 Subscription support with RxJS.

Credits

electron-typed-bridge is based on: