@mainframe/rpc-electron

Electron RPC client

Stats

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

Readme

rpc-electron

rpc-stream factory using transport-electron.

Installation

yarn add @mainframe/rpc-electron

Usage

import electronRPC from '@mainframe/rpc-electron'

const rpc = electronRPC('optional-channel-name')

rpc.request('getUser', ['1234']).then(console.log)

API

electronRPC()

Arguments

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

Returns StreamRPC

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.