# @dlenroc/roku-developer-server

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

Latest version **2.0.2** (published 2025-11-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @dlenroc/roku-developer-server
pnpm add @dlenroc/roku-developer-server
yarn add @dlenroc/roku-developer-server
bun add @dlenroc/roku-developer-server
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2025-11-18 |
| First published | 2025-11-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 42.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Corneliu Duplachi |
| Maintainers | dlenroc |
| Keywords | roku, developer-server |

## Links

- npm: https://www.npmjs.com/package/@dlenroc/roku-developer-server
- Repository: https://github.com/dlenroc/node-roku
- Homepage: https://github.com/dlenroc/node-roku#readme
- Issues: https://github.com/dlenroc/node-roku/issues
- npm.io page: https://npm.io/package/@dlenroc/roku-developer-server

## Dependencies (1)

- [digest-header](https://npm.io/package/digest-header.md) ^1.1.0

## Recent versions

- 2.0.2 (latest) — 2025-11-18

## README

# @dlenroc/roku-developer-server · [![NPM Version](https://img.shields.io/npm/v/@dlenroc/roku-developer-server)](https://www.npmjs.com/package/@dlenroc/roku-developer-server)

Client for [host utilities](https://developer.roku.com/en-gb/docs/developer-program/getting-started/developer-setup.md) provided via a web page at `http://<ip>`

## Installation

```sh
npm install @dlenroc/roku-developer-server
```

## Usage

```typescript
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.

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

---

| Method              | Description                                                                    |
| ------------------- | ------------------------------------------------------------------------------ |
| `convertToSquashfs` | Compress sideloaded channel using Squashfs                                     |
| `convertToZip`      | Compress sideloaded channel using Zip                                          |
| `deleteChannel`     | Delete sideloaded channel                                                      |
| `deletePackage`     | Delete sideloaded channel package                                              |
| `inspectPackage`    | Inspect channel package                                                        |
| `installChannel`    | Sideload a channel from a zip file                                             |
| `packageChannel`    | Package sideloaded channel and return path to it                               |
| `rekey`             | Rekey device from existing package signed with desired key                     |
| `saveProfilingData` | Saves the profiling data and returns the path to it                            |
| `takeScreenshot`    | Takes a screenshot of the sideloaded channel and returns the path to the image |

---
_Source: https://npm.io/package/@dlenroc/roku-developer-server · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
