@ocap/statedb-memory

OCAP statedb adapter that uses memory as backend statedb, just for test purpose

Usage no npm install needed!

<script type="module">
  import ocapStatedbMemory from 'https://cdn.skypack.dev/@ocap/statedb-memory';
</script>

README

@ocap/statedb-memory

styled with prettier

OCAP Adapter that stores data to the disk through nedb

Install

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

Usage

const MemoryStateDB = require('@ocap/statedb-memory');

const statedb = new MemoryStateDB();