JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 29
  • Score
    100M100P100Q72416F
  • License ISC

TSL UMDv5 Protocol for Node.js

Package Exports

  • tsl-umd-v5

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tsl-umd-v5) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

tsl-umd-v5

Installation

npm install tsl-umd

Example

const TSL5 = require('./tsl-umd-v5')

var umd = new TSL5()

//Listening for tallies
umd.listenUDP(8900)

umd.on('message', (msg) => {
    console.log(msg)
})

//Sending tallies
tally = {
    "screen": 0,
    "index": 1,
    "display": {
        "rh_tally": 1,
        "text_tally": 0,
        "lh_tally": 0,
        "brightness": 3,
        "text": "Test Tally"
    }
}

umd.sendTallyUDP('192.168.X.X', 8900 ,tally)