Yjs Utilities
JSON →y-utility provides essential helper functionalities for Yjs, a CRDT implementation for collaborative applications. The current stable version is 0.1.4, with releases occurring periodically to address bugs and integrate with newer Yjs versions. Key features include `YMultiDocUndoManager`, which extends Yjs's built-in `UndoManager` to handle undo/redo operations across multiple `Y.Doc` instances, essential for managing complex, nested document structures. It also offers `YKeyValue`, an optimized key-value store designed to address performance inefficiencies and document size growth observed when using `Y.Map` for frequently updated, alternating key-value pairs, thereby reducing metadata overhead and improving encoding size. This library targets environments running Node.js version 16 or newer, aligning with modern JavaScript module standards.
Traffic · last 30 days ↑0% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany