{"library":"y-leveldb","type":"library","category":null,"description":"y-leveldb is a persistence adapter for Yjs, the CRDT framework for real-time collaboration. It enables storing Yjs document updates persistently using LevelDB and its compatible implementations (like RocksDB, LMDB, or `level-mem`). The current stable version is `0.2.0`. Releases are infrequent but address compatibility, dependency updates, and bug fixes. Key differentiators include its flexibility to use various LevelUP-compatible storage backends, its direct integration into Yjs ecosystems (e.g., `y-websocket`), and its ability to manage multiple Yjs documents within a single database instance. The library provides a granular API for storing and retrieving document updates, state vectors, and custom metadata without necessarily hydrating a full Y.Doc object, which is crucial for efficient server-side synchronization and data management.","language":"javascript","status":"active","version":"0.2.0","tags":["javascript","Yjs","CRDT","offline","shared editing","collaboration","concurrency","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install y-leveldb","imports":["import { LeveldbPersistence } from 'y-leveldb'","import * as Y from 'yjs'","import level from 'level-mem'"]},{"cmd":"yarn add y-leveldb","imports":[]},{"cmd":"pnpm add y-leveldb","imports":[]}],"homepage":"https://yjs.dev","github":"https://github.com/yjs/y-leveldb","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/y-leveldb","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-leveldb/compatibility"}}