📄 | 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. Basically it is a 2P-set of keys and values that they map to.
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|keys)
Remove values for the given key(s) from the set.
Built with git-ssb-web