# node-galil

> Interact with a galil controller.

Latest version **1.1.2** (published 2016-05-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install node-galil
pnpm add node-galil
yarn add node-galil
bun add node-galil
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2016-05-11 |
| First published | 2016-03-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Alex Frazer |
| Maintainers | corvid |

## Links

- npm: https://www.npmjs.com/package/node-galil
- npm.io page: https://npm.io/package/node-galil

## Dependencies (2)

- [is_js](https://npm.io/package/is_js.md) ^0.8.0
- [bluebird](https://npm.io/package/bluebird.md) ^3.3.4

## Recent versions

- 1.1.2 (latest) — 2016-05-11
- 1.1.1 — 2016-05-06
- 1.1.0 — 2016-05-06
- 1.0.9 — 2016-05-03
- 1.0.8 — 2016-04-15
- 1.0.7 — 2016-03-29
- 1.0.6 — 2016-03-29
- 1.0.5 — 2016-03-28
- 1.0.4 — 2016-03-28
- 1.0.3 — 2016-03-28
- 1.0.2 — 2016-03-28
- 1.0.1 — 2016-03-28
- 1.0.0 — 2016-03-28

## README

# 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.

---
_Source: https://npm.io/package/node-galil · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
