# tsl-umd-v5

> TSL UMDv5 Protocol for Node.js

Latest version **1.0.7** (published 2026-02-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install tsl-umd-v5
pnpm add tsl-umd-v5
yarn add tsl-umd-v5
bun add tsl-umd-v5
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: no vulnerabilities.

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

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2026-02-05 |
| First published | 2021-08-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 9.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 21 |
| Author | Noah Callaway |
| Maintainers | noahcallaway |
| Keywords | tally, tsl, umd |

## Links

- npm: https://www.npmjs.com/package/tsl-umd-v5
- Repository: https://github.com/NoahCallaway/tsl-umd-v5
- Homepage: https://www.npmjs.com/package/tsl-umd-v5
- Issues: https://github.com/NoahCallaway/tsl-umd-v5/issues
- npm.io page: https://npm.io/package/tsl-umd-v5

## Dependencies (1)

- [debug](https://npm.io/package/debug.md) ^4.4.3

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 1.0.7 (latest) — 2026-02-05
- 1.0.6 — 2024-11-13
- 1.0.5 — 2021-12-07
- 1.0.4 — 2021-11-06
- 1.0.3 — 2021-08-28
- 1.0.2 — 2021-08-28
- 1.0.1 — 2021-08-27
- 1.0.0 — 2021-08-27

## README

# tsl-umd-v5

### Installation
```
npm install tsl-umd-v5
```

### Example 
```javascript
const TSL5 = require('tsl-umd-v5')

var umd = new TSL5()

//Listen for UDP tallies
umd.listenUDP(8900)

//Listen for TCP tallies
umd.listenTCP(9000)

umd.on('message', (msg) => {
    console.log("Tally Received:", msg)
})

//Sending tallies
tally = {
    "screen": 0,
    "index": 1,
    "display": {
        "rh_tally": 1,
        "text_tally": 0,
        "lh_tally": 0,
        "brightness": 3,
        "text": "Test Tally"
    }
}
//Send UDP tally
umd.sendTallyUDP('192.168.X.X', 8900, tally)

//Send TCP tally
umd.sendTallyTCP('192.168.X.X', 9000, tally)
```

### Tally Values

| Value | Colour |
|-------|--------|
| 0     | Off    |
| 1     | Red    |
| 2     | Green  |
| 3     | Amber  |

### npm

 - <https://www.npmjs.com/package/tsl-umd-v5>

### git

 - <https://github.com/NoahCallaway/tsl-umd-v5>

<br>

---

### DLE/STX Sequence

By default, the DLE/STX sequence is **enabled on TCP** packets and **disabled on UDP** packets as specified [here](https://tslproducts.com/media/1959/tsl-umd-protocol.pdf).

If necessary, use the `sequence` argument to override the defaults.

```javascript
//Send UDP tally with DLE/STX forced ON
umd.sendTallyUDP('192.168.X.X', 8900, tally, true)

//Send TCP tally with DLE/STX forced OFF
umd.sendTallyTCP('192.168.X.X', 9000, tally, false)
```

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