@mainframe/rpc-ipc

IPC RPC for node

Stats

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

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

  1. path: string

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.