JavaScript
JavaScript
Browser and Node.js clients: @cachepuppy/core, @cachepuppy/react, and the admin HTTP API.
CachePuppy ships a small, explicit JavaScript surface so you can use websockets for realtime, HTTP for server-to-server calls, and React without re‑implementing the protocol.
Core (@cachepuppy/core)
Websocket client, envelopes, topics, cache, session, transports, and events.
React (@cachepuppy/react)
Provider and hooks built on the core client.
Admin HTTP client
Topic and cache routes without opening a websocket.
Pick Core when you are wiring any JS runtime. Add React when you want context and hooks. Use Admin from backends, workers, or jobs that should stay request/response shaped.