1.1.2 • Published 8 years ago

node-galil v1.1.2

Weekly downloads
14
License
ISC
Repository
-
Last release
8 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

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago