A causal tree store that stores data in Indexed DB.
import { BrowserCausalTreeStore } from '@casual-simulation/causal-tree-store-browser';
demo();
async function demo() {
const store = new BrowserCausalTreeStore();
await store.init();
const storedCausalTree = await store.get('example');
// TODO: Create a causal tree from the stored version.
}
Version | Tag | Published |
---|---|---|
3.0.15-alpha.2537844219 | latest | 4d ago |