@vot.js/core
Version:
core package
34 lines (21 loc) • 635 B
Markdown
Core package for vot.js. It has only basic functions without receiving video data or defining a video service
```ts
import VOTClient from "@vot.js/core";
const client = new VOTClient();
const videoData = ...;
const result = await client.translateVideo({ videoData });
```
Proxying via [vot-worker](https://github.com/FOSWLY/vot-worker):
```ts
import { VOTWorkerClient } from "@vot.js/core";
const client = new VOTWorkerClient({
host: "vot.toil.cc",
});
```
You can see more code examples [here](https://github.com/FOSWLY/vot.js/tree/main/examples)
To install:
```bash
bun install @vot.js/core
```