iopa-common-stream
v1.3.8
Published
iopa-common-stream is a core utility library to create iopa.Body streams
Downloads
22
Readme
iopa-common-stream
About
iopa-common-stream
is is a core utility library to create iopa.Body streams
Written in plain javascript for maximum portability to constrained devices
Status
Working prototype
Includes:
IOPA Stream (reference classes)
Base framework to write your own IoPA server (e.g., MQTT over TCP)
Installation
npm install iopa-common-stream
Usage
const iopaStream = require('iopa-common-stream');
const OutgoingNoPayloadStream = iopaStream.OutgoingNoPayloadStream;
, IncomingMessageStream = iopaStream.IncomingMessageStream
, OutgoingStream = iopaStream.OutgoingStream
, OutgoingStreamTransform = iopaStream.OutgoingStreamTransform
, OutgoingNoPayloadStream = iopaStream.OutgoingNoPayloadStream
, EmptyStream = iopaStream.EmptyStream
, BufferStream = iopaStream.BufferStream;
See iopa-mqtt
for a reference implementation of this package