{"library":"dexie-observable","type":"library","category":null,"description":"Dexie.Observable is an addon for Dexie.js that significantly enhances IndexedDB functionality by enabling cross-window and cross-instance database change observation. It introduces an event mechanism, similar to `localStorage`'s `onstorage`, specifically for IndexedDB, allowing web applications to react in real-time to data modifications, irrespective of the originating tab or worker. This ensures views remain synchronized and up-to-date across all connected clients. The package is an integral part of the Dexie.js ecosystem, fully compatible with Dexie v4.x, and typically releases in alignment with Dexie.js's maintenance and feature updates. Although the package version provided is `4.0.1-beta.13`, it functions within the broader stable Dexie v4 environment. Furthermore, it forms the foundational layer for `Dexie.Syncable.js`, which provides robust two-way data replication capabilities with remote servers.","language":"javascript","status":"active","version":"4.0.1-beta.13","tags":["javascript","indexeddb","browser","dexie","addon","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install dexie-observable","imports":["import Dexie from 'dexie';\nimport 'dexie-observable';","db.on('changes', (changes) => { /* handle changes */ });","db.version(1).stores({ friends: '$$uuid,name' });"]},{"cmd":"yarn add dexie-observable","imports":[]},{"cmd":"pnpm add dexie-observable","imports":[]}],"homepage":"https://dexie.org","github":"https://github.com/dexie/Dexie.js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/dexie-observable","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/dexie-observable/compatibility"}}