@ocap/statedb-fs

1.18.121 • 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' });

Readme

Keywords

Package Sidebar

Install

npm i @ocap/statedb-fs

Weekly Downloads

63

Version

1.18.121

License

Apache-2.0

Unpacked Size

7.24 kB

Total Files

10

Last publish

Collaborators

  • wangshijun
  • polunzh
  • mave99a