Electron IPC management tool with enhanced DX
Interprocess provides a easy, scalable and type-safe way to manage and communicate between processes.
Explore the Docs
import { createInterprocess } from 'interprocess'
export const { exposeApiToGlobalWindow, ipcMain, ipcRenderer } =
createInterprocess({
main: {
async myIpcHandler(_, data: string) {
// ... do something with the data when this handler is invoked by the renderer process
return data.toUpperCase()
},
},
renderer: {
async myAnotherIpcHandler(_, data: string) {
// ... do something with the data when this handler is invoked by the main process
return data.toLowerCase()
},
},
})
🚀
Best-in-class DX
Interprocess has a fully-typed API, to minimize the learning curve, and provide the best possible developer experience.
🧠
Enhanced API
Interprocess is easy to create, manage processes and communicate between them. The provided API is clear, consistent and easy to understand.
🔥
Type-safe and scalable
Interprocess features inferred types for channels and its handlers, to ensure that the communication between processes is type-safe and scalable.