Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kaelzhang/node-redis-extra
redis with promisified commands.
https://github.com/kaelzhang/node-redis-extra
javascript next nodejs promise redis
Last synced: 20 days ago
JSON representation
redis with promisified commands.
- Host: GitHub
- URL: https://github.com/kaelzhang/node-redis-extra
- Owner: kaelzhang
- License: other
- Created: 2017-01-17T06:50:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-17T08:08:16.000Z (almost 8 years ago)
- Last Synced: 2024-04-15T12:33:03.552Z (7 months ago)
- Topics: javascript, next, nodejs, promise, redis
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/kaelzhang/node-redis-extra.svg?branch=master)](https://travis-ci.org/kaelzhang/node-redis-extra)
# redis-extra
redis with promisified commands.
## Install
```sh
$ npm install redis-extra --save
```## Usage
```js
const redis = require('redis-extra')
const red = redis(options)red.set('foo', 1)
.then(() => {
return red.get('foo')
})
.then(value => console.log(value)) // 1
```- options `Object=` [redis options](https://www.npmjs.com/package/redis#options-object-properties)
## License
MIT