0.8.1 • Published 4 months ago
@wiotp/sdk v0.8.1
IBM Watson IoT Platform Javascript SDK
Installation
npm install @wiotp/sdk --save
Usage
Application
import {ApplicationClient, ApplicationConfig} from '@wiotp/sdk';
let appConfig = ApplicationConfig.parseEnvVars();
let appClient = new ApplicationClient(appConfig);
appClient.connect();
// Do stuff
appClient.disconnect();
Device
import {DeviceClient, DeviceConfig} from '@wiotp/sdk';
let deviceConfig = DeviceConfig.parseEnvVars();
let deviceClient = new DeviceClient(deviceConfig);
deviceClient.connect();
// Do stuff
deviceClient.disconnect();
Gateway
import {GatewayClient, GatewayConfig} from '@wiotp/sdk';
let gwConfig = GatewayConfig.parseEnvVars();
let gwClient = new GatewayClient(gwConfig);
gwClient.connect();
// Do stuff
gwClient.disconnect();
Development
Build
npm i
npm run build
Publish
npm login
npm publish .
0.8.1
4 months ago
0.7.9-bump-package
4 months ago
0.8.1-alpha.1
4 months ago
0.7.9-beta.1
4 months ago
0.8.0
4 months ago
0.7.8
4 years ago
0.7.8-pre.wiotp-3826-psirt
4 years ago
0.7.7
4 years ago
0.7.6
4 years ago
0.7.6-pre.monitoring-dashboard-updates
4 years ago
0.7.5-pre.monitoring-dashboard-updates
4 years ago
0.7.4-pre.monitoring-dashboard-updates
4 years ago
0.7.3-pre.monitoring-dashboard-updates
4 years ago
0.7.2-pre.monitoring-dashboard-updates
4 years ago
0.7.1-pre.monitoring-dashboard-updates
4 years ago
0.7.0-pre.monitoring-dashboard-updates
4 years ago
0.6.3-pre.monitoring-dashboard-updates
4 years ago
0.6.2
4 years ago
0.6.1
4 years ago
0.6.0
5 years ago
0.5.0
5 years ago
0.4.2
5 years ago
0.4.1
5 years ago
0.4.0
5 years ago
0.3.0
5 years ago
0.2.0
5 years ago
0.1.7
5 years ago
0.1.6
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago