Installation
Install @ravex/client in your frontend or Node.js application.
Installation
Package Managers
pnpm add @ravex/clientnpm install @ravex/clientyarn add @ravex/clientPeer Dependencies
socket.io-client
These are installed automatically in most cases.
Type Imports
You can import shared types directly from the client package:
import type { User, Message, Room } from "@ravex/client";