{"library":"y-utility","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.1.4","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install y-utility","imports":["import { YMultiDocUndoManager } from 'y-utility/y-multidoc-undomanager'","import { YKeyValue } from 'y-utility/y-keyvalue'","import * as Y from 'yjs'"]},{"cmd":"yarn add y-utility","imports":[]},{"cmd":"pnpm add y-utility","imports":[]}],"homepage":"https://docs.yjs.dev","github":"https://github.com/yjs/y-utility","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/y-utility","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/y-utility/compatibility"}}