SDK for connecting to AWS IoT from a device using JavaScript/Node.js
...It provides features to simplify the handling of intermittent connections, including progressive backoff retries, automatic re-subscription upon connection and queued offline publishing with a configurable drain rate. Beginning with Release v2.2.0 of the SDK, AWS collects usage metrics indicating which language and version of the SDK is being used.