# Riak CRDT Helper

[![Build Status](https://travis-ci.org/mikepb/riak2-crdt.svg)](https://travis-ci.org/mikepb/riak2-crdt)


## Installation

```sh
npm install riak2-crdt
```


## Usage

```js
var client = require('riak2')();
var crdt = require('riak2-crdt');

client.fetch({
  key: 'test',
  type: 'test',
  bucket: 'test'
}, function (err, data) {
  var value = crdt(data).valueOf();
});
```

For more examples, please see the test cases.


## License

MIT
