@vot.js/node
v2.0.16
Published
package for runtimes
Downloads
1,142
Maintainers
Readme
@vot.js/node
JS Runtimes support package for vot.js
Usage
import VOTClient from "@vot.js/node";
import { getVideoData } from "@vot.js/node/utils/videoData";
const client = new VOTClient();
const videoData = await getVideoData("https://youtu.be/LK6nLR1bzpI");
const result = await client.translateVideo({ videoData });
Proxying via vot-worker:
import { VOTWorkerClient } from "@vot.js/node";
const client = new VOTWorkerClient({
host: "vot.toil.cc",
});
You can see more code examples here
Install
To install:
bun install @vot.js/node