@ocap/indexdb-memory
Version:
OCAP indexdb adapter that uses memory as backend, just for test purpose
22 lines (14 loc) • 468 B
Markdown
[](https://github.com/prettier/prettier)
> OCAP indexdb adapter that stores data in memory through lokijs
```sh
npm install @ocap/indexdb-memory
// or
yarn add @ocap/indexdb-memory
```
```js
const MemoryIndexDB = require('@ocap/indexdb-memory');
const indexdb = new MemoryIndexDB();
```