Installation
Audience: users.
Requirements
Section titled “Requirements”Browser runtime
Section titled “Browser runtime”- Chrome/Chromium 80+
- Firefox 75+
- Safari 14+
- Edge 80+
Tooling
Section titled “Tooling”- Node.js 20+
- npm or pnpm
Packages
Section titled “Packages”Install only what you need.
# Core SDK (required)npm install @roomful/core
# CRDT / Yjs support (required only when using strategy: 'crdt' or Yjs APIs)npm install yjs y-protocols
# Framework adapters (optional)npm install @roomful/reactnpm install @roomful/vuenpm install @roomful/svelte
# Prebuilt collaboration UI (optional)npm install @roomful/cursors
# Self-hosted relay server (optional)npm install @roomful/relay
# Relay CLI (optional)npm install -g @roomful/relayEnvironment Constraints
Section titled “Environment Constraints”- WebRTC-based collaboration depends on browser support and network policy.
- Cross-network sessions need STUN/TURN configuration for production.
- SSR/Node environments can document configuration but cannot run browser WebRTC transport directly.
CRDT Dependency Note
Section titled “CRDT Dependency Note”@roomful/coredeclaresyjsandy-protocolsas peer dependencies.- Install them when you use
room.getYDoc(),room.getYProvider(), oruseState({ strategy: 'crdt' }). - If you only use
lwworcustomstate strategies, no extra CRDT packages are needed beyond the base install.
Versioning Note
Section titled “Versioning Note”The project is at stable v2.0.0. Verify package versions and release notes before adopting APIs in production.