Roves
roves-api

roves-api

The JS/TS bridge your game's own code uses to talk to Roves.

Edit on GitHub

@drincs/roves-api is the JS/TS bridge for talking to Roves from your web content.

Modules

import { invoke } from "@drincs/roves-api/core";
import { exit } from "@drincs/roves-api/process";
import { steam } from "@drincs/roves-api/steam";
import { clearContentCache } from "@drincs/roves-api/cache";

Installation

npm install @drincs/roves-api

It's a normal npm dependency — no Roves-specific build step required on your side. Every function is safe to call even when your code isn't actually running inside Roves (e.g. a plain browser preview during development) — see each module's own page for its specific fallback behavior.

On this page