Kilovolt client
Typescript client for Kilovolt servers, supports Kilovolt Protocol v4+
API docs coming soon(tm)
Getting started
This client only works in platforms with a WebSocket client, such as the browser and Deno. Node.js currently does not work.
CDN - ES6 Module
A compiled version is available on this repo at dist/kilovolt.js
and through jsDeliver at the following URL: https://cdn.jsdelivr.net/gh/strimertul/kilovolt-client-ts/dist/kilovolt.js
For production uses you should use a fixed tag, like this:
import Kilovolt from "https://cdn.jsdelivr.net/gh/strimertul/kilovolt-client-ts@6.3.2/dist/kilovolt.js"
This version is recommended if you are building OBS overlays as it’s built with compatibility for Chrome 75 (the version that’s used by OBS web view)
NPM package
If you are using a bundler such as Webpack, Parcel or Vite, you can include this client in your project by downloading and importing @strimertul/kilovolt-client like this:
npm i --save @strimertul/kilovolt-client
Deno module
This package is available as a Deno module through Deno’s own hosting service as https://deno.land/x/kilovolt
To use it, simply import it like this:
import { Kilovolt } from "https://deno.land/x/kilovolt@v6.3.2/mod.ts"
LICENSE
Kilovolt client is licensed under ISC, see LICENSE
for more details.