@mainframe/transport-ipc
v0.3.0
Published
IPC transport
Downloads
43
Keywords
Readme
transport-ipc
IPC transport for node as a RxJS Subject
.
Installation
yarn add @mainframe/transport-ipc
Usage
import ipcTransport from '@mainframe/transport-ipc'
const transport = ipcTransport('/path/to/socket')
transport.subcribe(console.log)
transport.next({ hello: 'transport' })
API
ipcTransport()
Arguments
path: string
Returns Rx.Subject<Object>
License
MIT