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 = ;const OutgoingNoPayloadStream = iopaStreamOutgoingNoPayloadStream;IncomingMessageStream = iopaStreamIncomingMessageStreamOutgoingStream = iopaStreamOutgoingStreamOutgoingStreamTransform = iopaStreamOutgoingStreamTransformOutgoingNoPayloadStream = iopaStreamOutgoingNoPayloadStreamEmptyStream = iopaStreamEmptyStreamBufferStream = iopaStreamBufferStream;
See iopa-mqtt
for a reference implementation of this package