Socket
Socket
Sign inDemoInstall

@dlenroc/roku-developer-server

Package Overview
Dependencies
1
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @dlenroc/roku-developer-server

Client for host utilities provided via a web page at http://


Version published
Weekly downloads
19
increased by137.5%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

@dlenroc/roku-developer-server · NPM Version

Client for host utilities provided via a web page at http://<ip>

Installation

npm install @dlenroc/roku-developer-server

Usage

import { DeveloperServerExecutor, installChannel } from '@dlenroc/roku-developer-server';
import fs from 'node:fs';

const ctx = new DeveloperServerExecutor({
  address: 'http://<ip>',
  username: '<username>',
  password: '<password>',
});

const app = fs.readFileSync('<path_to_channel>');
await installChannel(ctx, { content: app });

📝 Retrieving content from methods returning file paths requires an extra request.

const path = await takeScreenshot(ctx);
const response = await ctx.execute(path);
const content = await response.arrayBuffer();

MethodDescription
convertToSquashfsCompress sideloaded channel using Squashfs
convertToZipCompress sideloaded channel using Zip
deleteChannelDelete sideloaded channel
deletePackageDelete sideloaded channel package
inspectPackageInspect channel package
installChannelSideload a channel from a zip file
packageChannelPackage sideloaded channel and return path to it
rekeyRekey device from existing package signed with desired key
saveProfilingDataSaves the profiling data and returns the path to it
takeScreenshotTakes a screenshot of the sideloaded channel and returns the path to the image

Keywords

FAQs

Last updated on 03 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc