shoehive/client
shoehive/client: the framework-agnostic TypeScript client. Isomorphic: no Node built-ins.
import { createClient } from 'shoehive/client';import type { ticTacToe } from './games/tic-tac-toe'; // type-only: no server code bundled
const client = createClient<[typeof ticTacToe]>({ url: 'ws://localhost:3000/shoehive' });const table = await client.createAndJoin('tic-tac-toe');await table.act('place', { cell: 4 });Classes
Section titled “Classes”Interfaces
Section titled “Interfaces”Type Aliases
Section titled “Type Aliases”Variables
Section titled “Variables”Functions
Section titled “Functions”References
Section titled “References”isShoehiveError
Section titled “isShoehiveError”Re-exports isShoehiveError
LobbyDocument
Section titled “LobbyDocument”Re-exports LobbyDocument
LobbyFilter
Section titled “LobbyFilter”Re-exports LobbyFilter
ShoehiveError
Section titled “ShoehiveError”Re-exports ShoehiveError
TableDocument
Section titled “TableDocument”Re-exports TableDocument
Welcome
Section titled “Welcome”Re-exports Welcome
