NodeCG-RX is a wrapper for NodeCG-Replicants. It supports wrapping NodeCG-Replicants in RxJS-Observables or RxJS-Subjects.
Use the package manager npm to install this project.
npm install --save nodecg-rx
Use ReplicantObservable
to wrap a Replicant
into an Observable
.
const observable = new ReplicantObservable<any>(nodecg.Replicant('observable'));
Use ReplicantSubject
to wrap a Replicant
into a Subject
.
const subject = new ReplicantSubject<any>(nodecg.Relicant('subject'));
Use the build
script to build this project.
npm run build
Use the test
script to build this project.
npm run test
- webpack - a bundler for javascript and friends
- RxJS - a library for reactive programming using Observables, to make it easier to compose asynchronous or callback-based code
- NodeCG - a broadcast graphics framework and application
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
This project uses SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under LGPL-3.0.