@dlenroc/roku-odc
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

@dlenroc/roku-odc · NPM Version

Client for runtime utilities

Installation

npm install @dlenroc/roku-odc

Usage

⚠️ inject(app) must be used to inject backend into your application

import { ODCExecutor, getRegistry } from '@dlenroc/roku-odc';

const ctx = new ODCExecutor({ address: 'http://<ip>:8061' });
const registry = await getRegistry(ctx);
console.log(registry);

Launch parameters

All of the above commands require the application to be up and running, but some of them can also be run using ECP during startup

await ecp.launch('dev', { odc_clear_registry: true });
await ecp.launch('dev', { odc_registry: /* state */ })
await ecp.launch('dev', {
  odc_entry_point: 'channel' | 'screensaver' | 'screensaver-settings',
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.1
    39
    • latest

Version History

Package Sidebar

Install

npm i @dlenroc/roku-odc

Weekly Downloads

35

Version

2.0.1

License

MIT

Unpacked Size

67.3 kB

Total Files

109

Last publish

Collaborators

  • dlenroc