Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 410 Bytes

File metadata and controls

33 lines (19 loc) · 410 Bytes

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

  1. path: string

Returns StreamRPC

License

MIT