@ocap/statedb-fs
v1.27.14
Published
OCAP statedb adapter that uses fs as backend
Downloads
1,064
Readme
@ocap/statedb-fs
OCAP statedb adapter that stores data to the disk through lokijs
Install
npm install @ocap/statedb-fs
// or
pnpm install @ocap/statedb-fsUsage
const FsStateDB = require('@ocap/statedb-fs');
const statedb = new FsStateDB(os.tmpdir());
statedb.account.create('123', { key: 'value' });