datastore-core

Wrapper implmentation for interface-datastore

js-datastore-core

Wrapping implementations for interface-datastore.

Lead Maintainer

Alex Potsides

Table of Contents

Implementations

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.

License

MIT

HomePage

https://github.com/ipfs/js-datastore-core#readme

Repository

https+https://github.com/ipfs/js-datastore-core


上一篇:async-iterator-all
下一篇:just-safe-set

相关推荐

官方社区

扫码加入 JavaScript 社区