Installation
A tiny, dependency-free toolkit for drawing crisp pixel-perfect UI in the browser. Install the client, configure a single object, and start making fully-typed requests. Everything below is copy-paste ready — no scaffolding required.
The runtime ships native ESM and the Fetch API. For older environments, pull in a polyfill before importing the client.
Configuration
Create a client once and reuse it across your app. The configuration object is fully typed; your editor will autocomplete every field.
Parameters
Response shape
Every successful call resolves to a discriminated union you can narrow safely: