Skip to content

Instantly share code, notes, and snippets.

@himself65
Created October 16, 2023 21:48
Show Gist options
  • Save himself65/f4a62f8a421ed92198867cfc9ad44b16 to your computer and use it in GitHub Desktop.
Save himself65/f4a62f8a421ed92198867cfc9ad44b16 to your computer and use it in GitHub Desktop.
y-indexeddb example
import { setMergeCount } from '@toeverything/y-indexeddb'
// just for type check test
setMergeCount(1)
{
"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"
}
}
{
"compilerOptions": {
"moduleResolution": "bundler"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment