Host API
chevron down

Host API

Interface: Host

Host API Information about the environment in which the companion runs

import { me as companion } from "companion"

console.log(`App Name: ${}`);
console.log(`App Version: ${}`);

console.log(`OS Name: ${}`);
console.log(`OS Version: ${}`);


readonly app

{ readonly name: string; readonly version: string; }

readonly os

{ readonly name: "Android" or "iOS" or "Windows"; readonly version: string; }