@mainframe/rpc-ipc
v0.3.0
Published
IPC RPC for node
Downloads
31
Keywords
Readme
rpc-ipc
rpc-stream
factory using transport-ipc
.
Installation
yarn add @mainframe/rpc-ipc
Usage
import ipcRPC from '@mainframe/rpc-ipc'
const rpc = ipcRPC('/path/to/socket')
rpc.request('getUser', ['1234']).then(console.log)
API
ipcRPC()
Arguments
path: string
Returns StreamRPC
License
MIT