datastore-core

2019-08-16 admin

datastore-core是什么

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

datastore-core使用教程帮助文档

js-datastore-core

standard-readme compliant Build Status Codecov Dependency Status js-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

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-72679.html

文章标题:datastore-core

回到顶部