@mainframe/transport-electron

Electron transport

Stats

StarsIssuesVersionUpdatedCreatedSize
@mainframe/transport-electron
110.2.13 years ago3 years agoMinified + gzip package size for @mainframe/transport-electron in KB

Readme

transport-electron

Electron IPC transport as a RxJS Subject.

Installation

yarn add @mainframe/transport-electron

Usage

import electronTransport from '@mainframe/transport-electron'

const transport = electronTransport('optional-channel-name')

transport.subcribe(console.log)
transport.next({ hello: 'transport' })

API

electronTransport()

Arguments

  1. channel?: ?string, defaults to rpc-message

Returns Rx.Subject<Object>

License

MIT

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.