iopa-common-stream is a core utility library to create IOPA Body streams
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
src
test
tools
.gitignore
LICENSE
NOTICE
README.md
jsconfig.json
package.json
shippable.yml

README.md

IOPA
iopa-common-stream

Build Status IOPA limerun

NPM

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