{"library":"y-postgresql","type":"library","category":null,"description":"y-postgresql is a community-maintained PostgreSQL database adapter designed to provide persistent storage for Yjs documents, commonly used in conjunction with a `y-websocket` server for real-time collaborative applications. As of version `1.0.1`, it offers features for storing Yjs updates and retrieving full document states from PostgreSQL. The package differentiates itself by providing a robust, battle-tested persistence solution for PostgreSQL users within the Yjs ecosystem, handling the serialization and deserialization of Yjs document updates directly. While it is not officially supported by the Yjs core team, it maintains compatibility with recent Yjs versions and provides configurable options like table naming, flush size for merging updates, and indexing for performance tuning. Release cadence is independent of Yjs core, typically driven by community contributions and specific feature requirements or bug fixes related to PostgreSQL integration.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","yjs","postgresql","database","adapter","shared editing","collaboration","offline","CRDT","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install y-postgresql","imports":["import { PostgresqlPersistence } from 'y-postgresql';","import type { PostgresqlPersistenceOptions } from 'y-postgresql';","import type { PostgresqlConnectionOptions } from 'y-postgresql';"]},{"cmd":"yarn add y-postgresql","imports":[]},{"cmd":"pnpm add y-postgresql","imports":[]}],"homepage":null,"github":"https://github.com/MaxNoetzold/y-postgresql","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/y-postgresql","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-postgresql/compatibility"}}