All Projects β†’ orbitdb β†’ orbit-db-kvstore

orbitdb / orbit-db-kvstore

Licence: MIT license
Key-Value database for orbit-db

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to orbit-db-kvstore

rosedb
πŸš€ A high performance NoSQL database based on bitcask, supports string, list, hash, set, and sorted set.
Stars: ✭ 2,957 (+12220.83%)
Mutual labels:  kv-store
orbit-db-identity-provider
Default identity provider for OrbitDB
Stars: ✭ 32 (+33.33%)
Mutual labels:  orbit-db
orbit-db-access-controllers
Access Controllers for OrbitDB
Stars: ✭ 25 (+4.17%)
Mutual labels:  orbit-db
BPlusTree
A simple persistent kv store based on B+Tree.
Stars: ✭ 18 (-25%)
Mutual labels:  kv
Pomegranate
🌳 A tiny skiplist based log-structured merge-tree written in Rust.
Stars: ✭ 20 (-16.67%)
Mutual labels:  kv
orbitdns
Distributed PKI based DNS
Stars: ✭ 23 (-4.17%)
Mutual labels:  orbit-db
zedis
A tiny embedded, lock free, redis-like, pub+sub, brokerless, key value datastore. ΓΈmq+sled
Stars: ✭ 33 (+37.5%)
Mutual labels:  kv
pinion
πŸ“ŒPin orbit-db stores and ipfs hashes
Stars: ✭ 29 (+20.83%)
Mutual labels:  orbit-db
orbit-db-cli
CLI for orbit-db
Stars: ✭ 60 (+150%)
Mutual labels:  orbit-db
opsbro
Ops Best friend
Stars: ✭ 37 (+54.17%)
Mutual labels:  kv-store
Tendis
Tendis is a high-performance distributed storage system fully compatible with the Redis protocol.
Stars: ✭ 2,295 (+9462.5%)
Mutual labels:  kv
Sled
the champagne of beta embedded databases
Stars: ✭ 5,423 (+22495.83%)
Mutual labels:  kv
pickledb-rs
PickleDB-rs is a lightweight and simple key-value store. It is a Rust version for Python's PickleDB
Stars: ✭ 116 (+383.33%)
Mutual labels:  kv
hidalgo
High-level Database Abstraction Layer for Go
Stars: ✭ 43 (+79.17%)
Mutual labels:  kv
example-orbitdb-todomvc
TodoMVC with OrbitDB
Stars: ✭ 17 (-29.17%)
Mutual labels:  orbit-db
field-manual
The Offical User's Guide to OrbitDB
Stars: ✭ 178 (+641.67%)
Mutual labels:  orbit-db
Nutsdb
A simple, fast, embeddable, persistent key/value store written in pure Go. It supports fully serializable transactions and many data structures such as list, set, sorted set.
Stars: ✭ 1,827 (+7512.5%)
Mutual labels:  kv-store
pbdb
A key/value database inspired by chapter 3 of Designing Data-Intensive Applications by Martin Kleppmann.
Stars: ✭ 25 (+4.17%)
Mutual labels:  kv-store
rocks4j
KV Store for Java backed by RocksDB
Stars: ✭ 13 (-45.83%)
Mutual labels:  kv-store

orbit-db-kvstore

Gitter Matrix npm version

Key-Value database for orbit-db

A key-value database just like your favourite key-value database.

Used in orbit-db.

Table of Contents

Install

npm install orbit-db ipfs

Usage

First, create an instance of OrbitDB:

const IPFS = require('ipfs')
const OrbitDB = require('orbit-db')

const ipfs = new IPFS()
const orbitdb = await OrbitDB.createInstance(ipfs)

Get a key-value database and add an entry to it:

const kv = await orbitdb.kvstore('settings')
kv.put('volume', '100')
  .then(() => {
    console.log(kv.get('volume'))
    // 100
  })

Later, when the database contains data, load the history and query when ready:

const kv = await orbitdb.kvstore('settings')
kv.events.on('ready', () => {
  console.log(kv.get('volume'))
  // 100
})

API

See orbit-db's API Documentation for full details.

Contributing

If you think this could be better, please open an issue!

Please note that all interactions in @orbitdb fall under our Code of Conduct.

License

MIT ©️ 2016-2018 Protocol Labs Inc., 2018 Haja Networks Oy

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].