@erebos/rpc-ipc
IPC RPC for node
Last updated a year ago by paul_lecam .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @erebos/rpc-ipc 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.11.0                                ...           latest (a year ago)

2 Versions

  • 0.11.0                                ...           a year ago
  • 0.10.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (0)
None

Copyright 2014 - 2017 © taobao.org |