Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

southern_lights_client

1.0.2 • Public • Published

About

A node client for accessing a southern-lights-server and controlling GPIO accessories via websockets.

southern-lights-client-logo

Install

NPM

Install using npm install southern_lights_client or by manual install.

Manual

var server = require('./client.js');

Use

Supply a vaild url and protocol to the southern lights socket server.

var client = require('southern_lights_client');
 
client.createClient({url: 'wss://url:port/','protocol':'echo-protocol'});

install

npm i southern_lights_client

Downloadsweekly downloads

4

version

1.0.2

license

ISC

last publish

collaborators

  • avatar