From 154f29d9ad25d3397f5ebbdb5d3c1f7fed4c19c4 Mon Sep 17 00:00:00 2001 From: anhashia Date: Wed, 14 Sep 2016 13:11:34 -0700 Subject: [PATCH] Adding Prerequisites section for Node.js --- node/device/core/readme.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/node/device/core/readme.md b/node/device/core/readme.md index a749897e62f..2a7843a8193 100644 --- a/node/device/core/readme.md +++ b/node/device/core/readme.md @@ -3,6 +3,11 @@ The core components of the Azure IoT device SDK. [![npm version](https://badge.fury.io/js/azure-iot-device.svg)](https://badge.fury.io/js/azure-iot-device) +## Prerequisites +You need to install **Node.js** JavaScript runtime environment for Azure IoT JavaScript client SDK to run on your platform. For downloading Node.js refer to [Node.js][nodejs_lnk]. To check if your platform (OS) is **supported** check if install package is available at [Node.js][nodejs_dwld_lnk]. +[npm][npm_lnk] is a package manager command line tool that will be included when Node.js is installed. This is the tool that you will use to install Azure IoT node.js client side SDK. + + ## Install `npm install -g azure-iot-device@latest` to get the latest (pre-release) version. @@ -51,4 +56,8 @@ var connectCallback = function (err) { client.open(connectCallback); ``` -See the `azure-iot-device-*` transport-specific packages for more information. \ No newline at end of file +See the `azure-iot-device-*` transport-specific packages for more information. + +[nodejs_lnk]: https://nodejs.org/ +[nodejs_dwld_lnk]: https://nodejs.org/en/download/ +[npm_lnk]:https://docs.npmjs.com/getting-started/what-is-npm