ibmiotf

Client libraries and samples for connecting to IBM Watson IoT using nodejs

Showing:

Popularity

Downloads/wk

1.4K

GitHub Stars

170

Maintenance

Last Commit

1mo ago

Contributors

39

Package

Dependencies

9

License

EPL-1.0

Type Definitions

Tree-Shakeable

No?

Categories

Readme

IBM Watson IoT Platform Javascript SDK

Build Status Coverage Status GitHub issues GitHub

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 .

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial