https://github.com/chatopera/qredis
https://github.com/chatopera/qredis
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chatopera/qredis
- Owner: chatopera
- Created: 2016-10-12T13:08:58.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-08-07T13:14:28.000Z (almost 5 years ago)
- Last Synced: 2024-04-14T20:20:44.541Z (about 2 years ago)
- Language: JavaScript
- Size: 39.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```