Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Latest commit

 

History

History

transport-ipc

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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

  1. path: string

Returns Rx.Subject<Object>

License

MIT