diff --git a/packages/duplex-message/README.md b/packages/duplex-message/README.md index 4a9f210..f90d81f 100644 --- a/packages/duplex-message/README.md +++ b/packages/duplex-message/README.md @@ -1,9 +1,14 @@ # duplex-message -Promise-based RPC for **iframes, Web Workers and browser tabs**, with progress feedback, typed calls and local cancellation. +

+ CI + Language: TypeScript + MIT license + npm version + Monthly npm downloads +

-[![CI](https://github.com/oe/duplex-message/actions/workflows/main.yml/badge.svg)](https://github.com/oe/duplex-message/actions) -[![npm](https://img.shields.io/npm/v/duplex-message.svg)](https://www.npmjs.com/package/duplex-message) +Promise-based RPC for **iframes, Web Workers and browser tabs**, with progress feedback, typed calls and local cancellation. Use it when a task in another context needs to return a result and report progress: parsing a file in a Worker, exporting from an embedded editor, or coordinating browser tabs. Four built-in transports share `on`, `emit` and `off`; the browser package has no runtime dependencies and supports tree shaking. diff --git a/packages/simple-electron-ipc/README.md b/packages/simple-electron-ipc/README.md index 6651010..7865ede 100644 --- a/packages/simple-electron-ipc/README.md +++ b/packages/simple-electron-ipc/README.md @@ -1,9 +1,14 @@ # simple-electron-ipc -**Bidirectional Electron RPC with progress feedback, typed calls and local cancellation.** Use it in the main process and an isolated preload; expose specific application operations through `contextBridge`. +

+ CI + Language: TypeScript + MIT license + npm version + Monthly npm downloads +

-[![CI](https://github.com/oe/duplex-message/actions/workflows/main.yml/badge.svg)](https://github.com/oe/duplex-message/actions) -[![npm](https://img.shields.io/npm/v/simple-electron-ipc.svg)](https://www.npmjs.com/package/simple-electron-ipc) +**Bidirectional Electron RPC with progress feedback, typed calls and local cancellation.** Use it in the main process and an isolated preload; expose specific application operations through `contextBridge`. Use it for long-running tasks with progress, or when both main → preload and preload → main need request/response calls. For a few ordinary renderer → main requests, Electron's native [`ipcRenderer.invoke` / `ipcMain.handle`](https://www.electronjs.org/docs/latest/tutorial/ipc) may be enough.