js-datastore-core
Wrapping implementations for interface-datastore.
Lead Maintainer
Table of Contents
Implementations
- Wrapper Implementations
- Mount:
src/mount
- Keytransform:
src/keytransform
- Sharding:
src/sharding
- Tiered:
src/tiered
- Namespace:
src/tiered
- Mount:
Install
$ npm install datastore-core
Usage
Wrapping Stores
const MemoryStore = require('interface-datastore').MemoryDatastore
const MountStore = require('datastore-core').MountDatastore
const Key = require('interface-datastore').Key
const store = new MountStore({prefix: new Key('/a'), datastore: new MemoryStore()})
Contribute
Feel free to join in. All welcome. Open an issue!
This repository falls under the IPFS Code of Conduct.