Dynamically get all the latest CH5 reserved join data from the CH5 json file at https://siproducts.blob.core.windows.net/ch5-release/rjviewapp.json.
This package is intended to be used as a test helper for crestron-ch5-helper to test for changes in the reserved join data.
npm install --save-dev @norgate-av/ch5-join-getter
# or
yarn add -D @norgate-av/ch5-join-getter
# or
pnpm add -D @norgate-av/ch5-join-getterThe package exports a single function getCh5ReservedJoins which returns a promise that resolves to the latest reserved join data.
import { getCh5ReservedJoins } from "@norgate-av/ch5-join-getter";
const data = await getCh5ReservedJoins();
console.log(data.ReservedJoin.Analog.Event);
console.log(data.ReservedJoin.Digital.Event);
console.log(data.ReservedJoin.Serial.Event);
console.log(data.ReservedJoin.Analog.State);
console.log(data.ReservedJoin.Digital.State);
console.log(data.ReservedJoin.Serial.State);This project is maintained by the following person(s) and a bunch of awesome contributors.
Damien Butt |
Thanks go to these awesome people (emoji key):
This project follows the all-contributors specification. Contributions of any kind are welcome!
