git ssb

0+

cel / kvset



Tree:
📄README.md
📄index.js
📄package.json
📄test.js
README.md

kvset

A set that can be updated using key-value links to indicate causal order. Intended to be used with hash-link systems, like secure-scuttlebutt.

See also hyperlog, kvgraph

API

var KVSet = require('kvset')
var set = new KVSet()

set.add(key, value)

Add a value to the set with the given key.

set.remove(key)

Remove the value for the given key from the set.

Replace values pointed to by keys in links with value at key. Equivalent to calling add(key, value) and remove(links)

Built with git-ssb-web