# [**@ocap/statedb-fs**](https://github.com/arcblock/blockchain)


> OCAP statedb adapter that stores data to the disk through lokijs

## Install

```sh
npm install @ocap/statedb-fs
// or
bun install @ocap/statedb-fs
```

## Usage

```js
const FsStateDB = require('@ocap/statedb-fs').default;
const statedb = new FsStateDB(os.tmpdir());

statedb.account.create('123', { key: 'value' });
```
