cel committed Use ssb URL for repositoryLatest: 9b26153 on 1/7/2020, 12:40:55 AM | |
📄 | 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.
License
Copyright (c) 2016 @f/6sQ6d...
Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument.
DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.
Built with git-ssb-web