JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q43684F
  • License MIT

Azure IoT Edge Core Runtime.

Package Exports

  • azure-iot-gateway

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (azure-iot-gateway) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Azure IoT Edge Core Runtime

Features

This package provides a simple method to start writing Node.js modules for the Azure IoT Edge on Ubuntu, Debian, Raspbian or Windows.

  • Contains the Azure IoT Edge core runtime
  • Auto-installs the module dependencies packages for Ubuntu, Debian, Raspbian or Windows which also contain the following Azure IoT Edge modules and bindings:
    • ble: Represents a Bluetooth low energy (BLE) device connected to the gateway
    • identitymap: Maps MAC addresses to IoT Hub device IDs/keys
    • iothub: Sends/receives messages to/from mapped devices and IoT Hub
    • logger: Writes received message content to a file
    • Java, Node.js, .NET, .NET Core bindings: Enables you to mix modules from different languages as part of your Gateway module pipeline

Installation

  1. npm install -g azure-iot-gateway
  2. Create a gateway_config.json file for your module pipeline (see example at IoT Edge getting started docs)
  3. azure-iot-gateway gateway_config.json
  • gateway_config.json should contain the module (native, .net, node, java) configuration.

Getting Started

A few options: a) install Yeoman generator, b) check out our sample apps GitHub repo, or c) follow these quick start steps for the sample app:

  1. git clone https://github.com/Azure-Samples/iot-edge-samples.git
  2. cd iot-edge-samples/js/simple
  3. npm install to install pre-built core runtime of IoT Edge.
  4. npm run local to start the IoT Edge with pre-defined modules (sensor and printer).

Read More