UNPKG

y-cap-sqlite

Version:

y-cap-sqlite is a persistence provider for [Yjs](https://github.com/yjs/yjs) that uses [@capacitor-community/sqlite](https://github.com/capacitor-community/sqlite) to store document changes in a SQLite database. This is useful for Capacitor projects that

45 lines (44 loc) 896 B
{ "name": "y-cap-sqlite", "version": "1.0.0", "description": "", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "sideEffects": false, "type": "module", "scripts": { "dev": "tsup --watch", "build": "tsup" }, "keywords": [ "yjs", "sqlite", "local-first", "offline-first", "realtime", "collaboration", "yjs-provider", "yjs-provider-sqlite", "capacitor" ], "author": "Loseq <loseq@proton.me>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/l0seq/y-cap-sqlite.git" }, "devDependencies": { "@types/node": "^20.12.7", "tsup": "^8.4.0", "typescript": "^5.4.5" }, "dependencies": { "buffer": "^6.0.3", "lib0": "^0.2.93" }, "peerDependencies": { "@capacitor-community/sqlite": "^7.0.0", "yjs": "^13.0.0" } }