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