Created
October 16, 2023 21:48
-
-
Save himself65/f4a62f8a421ed92198867cfc9ad44b16 to your computer and use it in GitHub Desktop.
y-indexeddb example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { setMergeCount } from '@toeverything/y-indexeddb' | |
// just for type check test | |
setMergeCount(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "y-indexeddb-example", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"keywords": [], | |
"author": "", | |
"license": "ISC", | |
"dependencies": { | |
"@toeverything/y-indexeddb": "^0.10.0-canary.1", | |
"yjs": "^13.6.8" | |
}, | |
"devDependencies": { | |
"ts-node": "^10.9.1" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"moduleResolution": "bundler" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment