node-riakcs

npm package for NodeJS to talk to riakCS

Node-riakcs -- talk to riakcs like you would with awssum

  npm install node-riakcs

Request is designed to be the simplest way possible to make http calls. It supports HTTP.

var S3, awssum, riakcs, s3;
awssum = require('node-riakcs/awssum');
riakcs = awssum.load('riakcs');
riakcs.MYREGION = "<YOUR_HOST_OR_REGION>";
S3 = awssum.load('s3').S3;
S3.endPoint[riakcs.MYREGION] = "<YOUR_HOST_OR_REGION>";
 
var s3 = new S3({
    'accessKeyId' : "<YOUR_KEY_ID>",
    'secretAccessKey' : "<YOUR_SECRET>",
    'region' : riakcs.MYREGION
    'hostname' : "<YOUR_HOST>"
});