@tmorin/ceb-messaging-adapter-electron

The package is part of the `<ceb/>` library. It provides a bridges between the Electron IPC Event Emitter and a Gateway.

Usage no npm install needed!

<script type="module">
  import tmorinCebMessagingAdapterElectron from 'https://cdn.skypack.dev/@tmorin/ceb-messaging-adapter-electron';
</script>

README

@tmorin/ceb-messaging-adapter-electron

npm version skypack.dev doc api

The package is part of the <ceb/> library. It provides a bridges between the Electron IPC Event Emitter and a Gateway.

Install

The NPM package is compliant CommonJs and ES Module.

npm install @tmorin/ceb-messaging-adapter-electron

Usage

Usage from the Main context:

import {IpcMainBus} from "@tmorin/ceb-messaging-adapter-electron/bus-main"

Usage from the Renderer context:

import {IpcRendererBus} from "@tmorin/ceb-messaging-adapter-electron/bus-renderer"

License

Released under the MIT license.