FREE FOR ALL
what it is?
This is the simplest key-value store I could make up.
No auth, usable from any domain.
Use it for your prototypes only, please.
Uses leveldb and segments dbs with the level-sublevel
nodejs module.
install
> npm install -g freeforall
serve
> freeforall <dbPath:multi.db> <port:5566>
direct HTTP usage
GET /<dbname>
returns pipe separated array of existing keys
GET /<dbname>/clear
GET /<dbname>/get/<key>
GET /<dbname>/del/<key>
GET /<dbname>/set/<key>/<value>
browser usage
async
<!-- you can optionally suffix the URL with /cliBrowserAsync.js for consistency -->
var f = f // cb(err, arrOfKeys) fclearcb f // cb(err, val) f f
sync
var f = f // array of keys fclear f // returns val f f