speedcontrol-util
v0.6.1
Published
Node.js package with utilities to help you code NodeCG bundles that interface with the nodecg-speedcontrol bundle.
Downloads
7
Maintainers
Readme
speedcontrol-util
Node.js package with utilities to help you code NodeCG bundles that interface with the nodecg-speedcontrol bundle.
Install
$ npm install speedcontrol-util
Example
JavaScript
const SpeedcontrolUtil = require('speedcontrol-util');
module.exports = nodecg => {
const sc = new SpeedcontrolUtil(nodecg);
const activeRun = sc.runDataActiveRun; // instance of the replicant
};
TypeScript
import SpeedcontrolUtil from 'speedcontrol-util';
export = (nodecg: NodeCG) => {
const sc = new SpeedcontrolUtil(nodecg);
const activeRun = sc.runDataActiveRun; // instance of the replicant
};