RTDS Node Library

Node library for using the Airship Real-Time Data Streaming API.

Resources

Installation

Install using npm:

npm install urban-airship-connect

Example usage

Basic usage example
var connect = require('urban-airship-connect')

var connectStream = connect('appKey', 'authToken')

connectStream.on('data', function (data) {
  // will be called with each event
})

// write to the stream to set filters/offset/start
connectStream.write({start: 'LATEST'})