0.8.2 • Published 5 months ago
@wiotp/sdk v0.8.2
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.2-alpha.3
5 months ago
0.8.2-alpha.1
5 months ago
0.8.2-alpha.2
5 months ago
0.8.2
5 months ago
0.8.1
1 year ago
0.7.9-bump-package
1 year ago
0.8.1-alpha.1
1 year ago
0.7.9-beta.1
1 year ago
0.8.0
1 year ago
0.7.8
5 years ago
0.7.8-pre.wiotp-3826-psirt
5 years ago
0.7.7
5 years ago
0.7.6
5 years ago
0.7.6-pre.monitoring-dashboard-updates
5 years ago
0.7.5-pre.monitoring-dashboard-updates
5 years ago
0.7.4-pre.monitoring-dashboard-updates
5 years ago
0.7.3-pre.monitoring-dashboard-updates
5 years ago
0.7.2-pre.monitoring-dashboard-updates
5 years ago
0.7.1-pre.monitoring-dashboard-updates
5 years ago
0.7.0-pre.monitoring-dashboard-updates
5 years ago
0.6.3-pre.monitoring-dashboard-updates
5 years ago
0.6.2
5 years ago
0.6.1
5 years ago
0.6.0
6 years ago
0.5.0
6 years ago
0.4.2
6 years ago
0.4.1
6 years ago
0.4.0
6 years ago
0.3.0
6 years ago
0.2.0
6 years ago
0.1.7
6 years ago
0.1.6
6 years ago
0.1.5
6 years ago
0.1.4
6 years ago
0.1.3
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago