2.0.0 • Published 3 months ago

@norgate-av/crestron-ch5-helper v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

Crestron CH5 Helper :muscle:


CI Conventional Commits Commitizen friendly GitHub contributors NPM MIT license


This library defines all the Crestron CH5 signal types and reserved joins into a convenient Javascript object to aid in the development of CH5 projects.

All of the joins defined in this library can be found in the Crestron CH5 Reserved Join Database.

For more information, check out the CH5 Reserved Join Documentation.

Contents 📖

Installation :zap:

npm install @norgate-av/crestron-ch5-helper

# or

yarn add @norgate-av/crestron-ch5-helper

Usage :rocket:

import { publishEvent, subscribeState } from "@crestron/ch5-crcomlib";
import CrestronCH5 from "@norgate-av/crestron-ch5-helper";

subscribeState(
 CrestronCH5.SignalType.Digital,
 CrestronCH5.ReservedJoin.Digital.State.Csig_All_Control_Systems_Online_fb,
 (value: boolean) =>
  console.log(`Control System ${value ? "Online" : "Offline"}`),
);

publishEvent(
 CrestronCH5.SignalType.Serial
 CrestronCH5.ReservedJoin.Serial.Event.Csig_Browser_URL,
 "https://www.npmjs.com/package/@norgate-av/crestron-ch5-helper"
);

Team :soccer:

This project is maintained by the following person(s) and a bunch of awesome contributors.

Contributors :sparkles:

All Contributors

Thanks go to these awesome people (emoji key):

This project follows the all-contributors specification. Contributions of any kind are welcome!

LICENSE :balance_scale:

MIT

2.0.0

3 months ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago