@casual-simulation/causal-tree-store-browser
    TypeScript icon, indicating that this package has built-in type declarations

    3.0.15-alpha.2537844219 • Public • Published

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

    Install

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

    DownloadsWeekly Downloads

    22

    Version

    3.0.15-alpha.2537844219

    License

    MIT

    Unpacked Size

    2.97 kB

    Total Files

    3

    Last publish

    Collaborators

    • kallyngowdyyeti
    • casualsimulation