@casual-simulation/causal-tree-store-browser
npm i @casual-simulation/causal-tree-store-browser

@casual-simulation/causal-tree-store-browser

Casual Open Simulation for the Web

by casual-simulation

3.0.15-alpha.2537844219 (see all)License:MITTypeScript:Built-In
npm i @casual-simulation/causal-tree-store-browser
Readme

Causal Tree Store Browser

npm (scoped)

A causal tree store that stores data in Indexed DB.

Usage

Create a Browser Causal Tree Store

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.
}

Downloads/wk

140

GitHub Stars

26

LAST COMMIT

4mos ago

MAINTAINERS

2

CONTRIBUTORS

16

OPEN ISSUES

1

OPEN PRs

0
VersionTagPublished
3.0.15-alpha.2537844219
latest
4d ago
No alternatives found
No tutorials found
Add a tutorial