Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

transport-ipc

IPC transport for node as a RxJS Subject.

Installation

yarn add @erebos/transport-ipc

Usage

import ipcTransport from '@erebos/transport-ipc'

const transport = ipcTransport('/path/to/socket')

transport.subcribe(console.log)
transport.next({ hello: 'transport' })

API

ipcTransport()

Arguments

  1. path: string

Returns Rx.Subject<Object>

License

MIT