Azure IoT Hub modules for JavaScript

Azure IoT Hub is a fully managed service that enables reliable and secure bidirectional communications between millions of IoT devices and a solution back end. Azure IoT Hub:

  • Provides multiple device-to-cloud and cloud-to-device communication options, including one-way messaging, file transfer, and request-reply methods.
  • Provides built-in declarative message routing to other Azure services.
  • Provides a queryable store for device metadata and synchronized state information.
  • Enables secure communications and access control using per-device security keys or X.509 certificates.
  • Provides extensive monitoring for device connectivity and device identity management events.
  • Includes device libraries for the most popular languages and platforms.

Use npm to install the Azure IoT Hub modules for JavaScript

Management Package

Install the npm module

Install the Azure IoT Hub npm module

npm install @azure/arm-iothub

Samples

For more code samples that use various Azure packages, explore the JavaScript samples.