Yjs is a high-performance, open-source CRDT (Conflict-free Replicated Data Type) implementation for building collaborative, real-time applications. It enables multiple users to edit shared data structures—such as text documents, arrays, maps, and XML trees—synchronously and offline. Yjs is network-agnostic and works with WebRTC, WebSocket, or any other transport layer, making it ideal for collaborative editors, whiteboards, and design tools. Its compact updates and powerful reconciliation system make it one of the most efficient and developer-friendly CRDT libraries available.
Features
- Real-time collaborative editing using CRDTs
- Supports rich data types like text, arrays, and maps
- Network-agnostic with adapters for WebSocket, WebRTC, and more
- Offline support with automatic conflict resolution
- Efficient binary update encoding and syncing
- Works in browsers, Node.js, and embedded environments
- Integrates with editors like ProseMirror, Quill, and CodeMirror
- Built-in awareness protocol for user cursors and presence
Categories
CollaborationLicense
MIT LicenseFollow Yjs
You Might Also Like
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Yjs!