datastore-core

2019-08-16

datastore-core是什么

什么是datastore-core,Wrapper implmentation for interface-datastore

datastore-core使用教程帮助文档

js-datastore-core

standard-readme compliantBuild StatusCodecovDependency Statusjs-standard-style

Wrapping implementations for interface-datastore.

Lead Maintainer

Alex Potsides

Table of Contents

  • js-datastore-core
    • Lead Maintainer
    • Table of Contents
    • Implementations
    • Install
    • Usage
      • Wrapping Stores
    • Contribute
    • License

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


上一篇:async-iterator-all
下一篇:just-safe-set
相关教程
关注微信

扫码加入 JavaScript 社区

相关文章

首次访问,需要验证
微信扫码,关注即可
(仅需验证一次)

欢迎加入 JavaScript 社区

号内回复关键字:

回到顶部