lightweight riak client for node.js
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
README.md
package.json

README.md

node-riak-client

A lightweight riak client for node.js

installation

npm install node-riak-client

configuration

var riak = require('node-riak-client');
riak.configure(<RIAK_SERVER_URLS>);

Get

riak.get(CLIENT_ID, BUCKET, KEY, function(err, xhr){
});

Put

riak.put(CLIENT_ID, BUCKET, KEY, OPTION, function(err, xhr){
});

Delete

riak.put(CLIENT_ID, BUCKET, KEY, OPTION, function(err, xhr){
});

Map Reduce

riak.query(CLIENT_ID).add(PHASE, TASK).add(PHASE, TASK).exec(function(err, xhr){
});