Carina
Installation
You can either use npm (recommended) or download the zip from the releases page.
Browser
Node
npm i --save carina
Usage
Browser
index.html
Carina
app.js
var ca = ;ca;
Node
JavaScript
const Carina = Carina;const ws = ; CarinaWebSocket = ws; // Note: You MUST set isBot if the client is// an automated bot and you are NOT authing.const ca = isBot: true ;ca;
TypeScript
;; Carina.WebSocket = ws; ;ca.subscribe'channel:1:update', ; // Example interface, does not contain all possible values.