blockstore-datastore-adapter

datastore interface

Usage no npm install needed!

<script type="module">
  import blockstoreDatastoreAdapter from 'https://cdn.skypack.dev/blockstore-datastore-adapter';
</script>

README

blockstore-datastore-adapter

Wraps a datastore with a blockstore

Table of Contents

Install

$ npm install blockstore-datastore-adapter

Usage

import { MemoryDatastore } from 'datastore-core/memory'
import { BlockstoreDatastoreAdapter } from 'blockstore-datastore-adapter'

const store = new BlockstoreDatastoreAdapter(new MemoryDatastore())

Contribute

Feel free to join in. All welcome. Open an issue!

This repository falls under the IPFS Code of Conduct.

License

Apache-2.0 OR MIT