@ocap/statedb-fs
v1.18.116
Published
OCAP statedb adapter that uses fs as backend
Downloads
176
Readme
@ocap/statedb-fs
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' });