@ocap/indexdb-fs

OCAP indexdb adapter that uses file system as backend

Usage no npm install needed!

<script type="module">
  import ocapIndexdbFs from 'https://cdn.skypack.dev/@ocap/indexdb-fs';
</script>

README

@ocap/indexdb-fs

styled with prettier

OCAP indexdb adapter that stores data on disk through lokijs

Install

npm install @ocap/indexdb-fs
// or
yarn add @ocap/indexdb-fs

Usage

const FsIndexDB = require('@ocap/indexdb-fs');

const indexdb = new FsIndexDB(os.tmpdir());