# @jmkristian/node-vara

> Communicate via radio in the style of node net, using a VARA FM or VARA HF modem.

Latest version **1.0.2** (published 2023-03-28) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @jmkristian/node-vara
pnpm add @jmkristian/node-vara
yarn add @jmkristian/node-vara
bun add @jmkristian/node-vara
```

## 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.0.2 |
| Published | 2023-03-28 |
| First published | 2023-03-16 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.17.0 |
| Dependencies | 0 |
| Unpacked size | 47.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | John Kristian |
| Maintainers | jmkristian |
| Keywords | VARA, radio, modem |

## Links

- npm: https://www.npmjs.com/package/@jmkristian/node-vara
- Repository: https://github.com/jmkristian/node-vara
- Homepage: https://github.com/jmkristian/node-vara#readme
- Issues: https://github.com/jmkristian/node-vara/issues
- npm.io page: https://npm.io/package/@jmkristian/node-vara

## Recent versions

- 1.0.2 (latest) — 2023-03-28
- 1.0.1 — 2023-03-26
- 0.1.0 — 2023-03-16

## README

# node-vara
Communicate via radio in the style of
[node Net](https://nodejs.org/docs/latest-v8.x/api/net.html),
using a
[VARA](https://rosmodem.wordpress.com/)
FM or HF modem.
```js
const VARA = require('@jmkristian/node-vara');
const Bunyan = require('bunyan');

var server = new VARA.Server ({
        host: 'vara-fm-server-host', // default: localhost
        port: 8300, // default: 8300
        dataPort: 8301, // default: port + 1
        logger: Bunyan.createLogger({name: 'VARA'}), /* default: no logging
            An object compatible with the Bunyan logger interface, or null. */
    },
    function onConnection(connection) {
        console.log('connection'
                    + ' from ' + connection.remoteAddress
                    + ' to ' + connection.localAddress);
        connection.write(...); // transmit data
        connection.pipe(...); // receive data
    });

server.listen({
        host: ['A1CALL-1', 'B2CALL-10']  // This server's call signs.
    },
    function onListening(info) { // called when the server begins listening
        console.log('VARA listening %o', info);
    });
```

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