@ocap/statedb-fs

1.18.123 • Public • Published

styled with prettier

OCAP statedb adapter that stores data to the disk through lokijs

Install

npm install @ocap/statedb-fs
// or
yarn add @ocap/statedb-fs

Usage

const FsStateDB = require('@ocap/statedb-fs');
const statedb = new FsStateDB(os.tmpdir());

statedb.account.create('123', { key: 'value' });

/@ocap/statedb-fs/

    Package Sidebar

    Install

    npm i @ocap/statedb-fs

    Weekly Downloads

    5

    Version

    1.18.123

    License

    Apache-2.0

    Unpacked Size

    7.24 kB

    Total Files

    10

    Last publish

    Collaborators

    • wangshijun
    • polunzh
    • mave99a