Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ldarren/node-riak-client
lightweight riak client for node.js
https://github.com/ldarren/node-riak-client
Last synced: about 2 months ago
JSON representation
lightweight riak client for node.js
- Host: GitHub
- URL: https://github.com/ldarren/node-riak-client
- Owner: ldarren
- Created: 2012-09-07T17:04:38.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-09-07T17:41:37.000Z (over 12 years ago)
- Last Synced: 2024-11-21T06:38:37.421Z (2 months ago)
- Language: JavaScript
- Size: 97.7 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
node-riak-client
================A lightweight riak client for node.js
installation
============
npm install node-riak-clientconfiguration
=============
```javascript
var riak = require('node-riak-client');
riak.configure();
```Get
===
```javascript
riak.get(CLIENT_ID, BUCKET, KEY, function(err, xhr){
});```
Put
===
```javascript
riak.put(CLIENT_ID, BUCKET, KEY, OPTION, function(err, xhr){
});```
Delete
======
```javascript
riak.put(CLIENT_ID, BUCKET, KEY, OPTION, function(err, xhr){
});```
Map Reduce
==========
```javascript
riak.query(CLIENT_ID).add(PHASE, TASK).add(PHASE, TASK).exec(function(err, xhr){
});
```