pinestc
v0.1.0
Published
The pinest nodejs client
Downloads
2
Readme
pinestc
The pinest nodejs client
Usage
const {Client} = require('..');
(async () => {
const client = await Client.connect();
client.on('button', notification => {
console.log(notification);
});
const feature = client.feature('ledrgb');
if (!feature) {
throw new Error('no feature ledrgb');
}
await feature.remcall('fadeout', ['0000FF']);
// close if no other process
// client.close();
})();