@vot.js/node
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -0,0 +0,0 @@ import { BaseHelper } from "./base.js"; |
@@ -0,0 +0,0 @@ import type { |
@@ -0,0 +0,0 @@ import type { |
{ | ||
"name": "@vot.js/node", | ||
"description": "package for runtimes", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"author": "Toil", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
# @vot.js/node | ||
JS Runtimes support package for vot.js | ||
## Usage | ||
```ts | ||
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](https://github.com/FOSWLY/vot-worker): | ||
```ts | ||
import { VOTWorkerClient } from "@vot.js/node"; | ||
const client = new VOTWorkerClient({ | ||
host: "vot.toil.cc", | ||
}); | ||
``` | ||
You can see more code examples [here](https://github.com/FOSWLY/vot.js/tree/main/examples) | ||
## Install | ||
To install: | ||
@@ -4,0 +33,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
118559
37