node-riakcs
v0.0.6
Published
npm package for NodeJS to talk to riakCS
Downloads
16
Readme
Node-riakcs -- talk to riakcs like you would with awssum
Install
Configure your client
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>"
});