rtv-client
v2.10.0
Published
Remote TV control JS-client for developers
Downloads
8
Readme
RTV client
Remote TV management Node.js client
Install
npm install rtv-client
Import
Node.js:
const RTVClient = require('rtv-client');
Browser:
As ES-module:
import RTVClient from 'rtv-client';
Usage
const config = {
apiUrl: 'http://localhost:3000/api',
};
const client = new RTVClient(config);
console.log(await client.tv.list());