@mainframe/rpc-ipc
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

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

  1. path: string

Returns StreamRPC

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @mainframe/rpc-ipc

Weekly Downloads

1

Version

0.3.0

License

MIT

Unpacked Size

2.27 kB

Total Files

5

Last publish

Collaborators

  • aclarke
  • diogoperillo
  • howleysv
  • mosic
  • paul_lecam
  • sarahwiley