# @wistia/render-pipeline-client

> client-side tools for working with the render-pipeline API

Latest version **1.0.0** (published 2022-05-23) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install @wistia/render-pipeline-client
pnpm add @wistia/render-pipeline-client
yarn add @wistia/render-pipeline-client
bun add @wistia/render-pipeline-client
```

## Health

**Score 25/100 (F)** — status: abandoned.

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-05-23 |
| First published | 2022-05-23 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 27.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | max@wistia.com |
| Maintainers | wistia_engineering, okize |

## Links

- npm: https://www.npmjs.com/package/@wistia/render-pipeline-client
- Repository: https://github.com/wistia/render-pipeline-client
- Homepage: https://github.com/wistia/render-pipeline-client#readme
- Issues: https://github.com/wistia/render-pipeline-client/issues
- npm.io page: https://npm.io/package/@wistia/render-pipeline-client

## Recent versions

- 1.0.0 (latest) — 2022-05-23

## README

# render-pipeline-client

## Installation in other applications

Add it to your application's package.json.

With yarn:

```
yarn add render-pipeline-client
```

With npm:

```
npm install render-pipeline-client
```

Use the client:

```js
import { clip, video, renderVideo } from 'render-pipeline-client';

const exampleFn = async () => {
  const myVid = video({ uri: ".../hi.mp4" });

  // Times are expected in microsecond integers.
  // That's Math.round(timeInSeconds * 1_000_000).
  const clippedVid = clip(myVid, { start: 10_000000, end: 30_000_000 });

  // TODO: update rendering so it makes more sense.
  const renderedVid = await renderVideo(clippedVid, ...);

  console.log('rendered', renderedVid);
};
```

See the tests or playground for more examples.

## Local Setup

We assume you'll have already gone through [wistia-setup](https://github.com/wistia/wistia-setup).

```
asdf install
yarn install
```

## Auto-build and manual testing

This will auto-compile any changes you make. You can test them manually at https://render-pipeline-client.wistia.io/test/manual/.

```
./run
```

---
_Source: https://npm.io/package/@wistia/render-pipeline-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
