Backend
969 installs
rivetkit-client-javascript
by rivet-dev/skills
RivetKit JavaScript client guidance. Use for browser, Node.js, or Bun clients that connect to Rivet Actors with rivetkit/client, create clients, call actions,…
Skill content
RivetKit JavaScript Client Use this skill when building JavaScript clients (browser, Node.js, or Bun) that connect to Rivet Actors with rivetkit/client. First Steps - Install the client (latest: 2.3.0-rc.12) npm install [email protected] - Create a client with createClient() and call actor actions. Error Handling Policy - Prefer fail-fast behavior by default. - Avoid try/catch unless absolutely needed. - If a catch is used, handle the error explicitly, at minimum by logging it. Getting Started