/xively-kinesis-bridge-client

Envelope reader for Xively Kinesis Bridge

Primary LanguageTypeScriptOtherNOASSERTION

xively-kinesis-bridge

This is a NodeJS client library written in TypeScript for the Xively Kinesis Bridge feature. It helps parsing the envelope transported on the Xively-connected Amazon Kinesis stream.

Status

Build Status

Quickstart

npm install xively-kinesis-bridge

Sample

import {KinesisBridgeEnvelopeParser} from 'xively-kinesis-bridge';

const base64Data = 'some base64 encoded string';
const parser = new KinesisBridgeEnvelopeParser();

const kinesisBridgeEnvelope : KinesisBridgeEnvelope = parser.parseData(base64Data);