@iotize/device-com-websocket.js
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

IoTize Device Com WebSocket

Installation

Browser

Download latest version or use this link to load from jsdeliver.

<script src="https://cdn.jsdelivr.net/npm/@iotize/device-com-websocket.js@latest/dist/iotize-device-com-websocket.min.js" />

npm

npm install @iotize/device-com-websocket.js

Usage

// Library name: IoTizeDeviceComWebsocket
let websocketProtocol = IoTizeDeviceComWebsocket.WebSocketProtocol({
    url: 'tcp://localhost:2000' // Server url
});

// ...

Typings

Typings are provided with the library.

import { WebSocketProtocol } from '@iotize/device-com-websocket.js';

// ...

For more informations, read the documentation.

Package Sidebar

Install

npm i @iotize/device-com-websocket.js

Weekly Downloads

13

Version

2.1.0

License

MIT

Unpacked Size

204 kB

Total Files

58

Last publish

Collaborators

  • stephane.leonard
  • iotize-dev
  • stephane.leonard.iotize
  • behnaz.bouchiat
  • gvercasson