An open API service indexing awesome lists of open source software.

https://github.com/chatopera/qredis


https://github.com/chatopera/qredis

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# QREDIS

Get a promised redis client.

```
var qredis = require('qredis')({options});

qredis.set('s1', 'hello')
.then(function(result) {
console.log(result);
}, function(err) {
});
```

Get redis commands in [redis-commmands](https://github.com/NodeRedis/redis-commands/blob/master/commands.json) module.

Get `options` in [redis](https://www.npmjs.com/package/redis#options-object-properties).

## Test
```
git clone https://github.com/Samurais/qredis.git
cd qredis
npm install
ava
```