@mainframe/transport-ipc

IPC transport

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@mainframe/transport-ipc
110.3.04 years ago5 years agoMinified + gzip package size for @mainframe/transport-ipc in KB

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
  1. path: string

Returns Rx.Subject<Object>

License

MIT