Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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