1.1.2 • Published 9 years ago

node-galil v1.1.2

Weekly downloads
14
License
ISC
Repository
-
Last release
9 years ago

Galil

Allows usage of a galil device.

Usage

Create a new Galil device like so.

import Galil from 'node-galil';

const myGalil = new Galil({
  port: 23,
  host: '192.168.1.3'
});
myGalil.connect();

export myGalil;

Events

This class extends event emitter and therefore emits events

  • 'connect'

When both sockets are connected.

  • 'close'

When either socket has been disconnected. Passes the parameter of the socket that was closed, and if there is an error.

API

  • send

Send a command. returns a new Promise.

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago