Install
Install the Vifu tools from npm.
Vifu CLI
Use the CLI to create, run, test, build, generate, and publish companion-enabled experiences.
bash
npm install -g @consenger/[email protected]
vifu --helpFor project-local usage:
bash
npm install --save-dev @consenger/[email protected]
npx vifu --helpCompanion SDK
Use the SDK inside a browser game to expose safe session context, events, and app-owned actions to Vifu.
bash
npm install @consenger/[email protected]Bundled games can import the SDK:
ts
import { createCompanionSDK } from "@consenger/companion-sdk";Static games can copy the browser bundle from:
txt
node_modules/@consenger/companion-sdk/dist/browser/companion-sdk.jsNext steps
- Quickstart shows the minimal browser integration.
- Release tracks current tool versions and compatibility.
