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.
npm install xively-kinesis-bridge
import {KinesisBridgeEnvelopeParser} from 'xively-kinesis-bridge';
const base64Data = 'some base64 encoded string';
const parser = new KinesisBridgeEnvelopeParser();
const kinesisBridgeEnvelope : KinesisBridgeEnvelope = parser.parseData(base64Data);