Skip to content

Commit 144b7ed

Browse files
committed
start of work towards v3 release
1 parent c0cc0bf commit 144b7ed

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,38 @@
11
<p align="center">
22
<a href="https://github.com/noderedis/node-redis/">
3-
<img width="160px" src="https://static.invertase.io/assets/node_redis_logo.png" />
3+
<img width="180px" src="https://static.invertase.io/assets/node_redis_logo.png" />
44
</a>
55
<h2 align="center">Node Redis</h2>
6-
A high performance Node.js Redis client.
6+
<h4 align="center">A high performance Node.js Redis client.</h4>
77
</p>
88

9+
---
10+
911
<p align="center">
1012
<a href="https://www.npmjs.com/package/redis"><img src="https://img.shields.io/npm/dm/redis.svg?style=flat-square" alt="NPM downloads"></a>
1113
<a href="https://www.npmjs.com/package/redis"><img src="https://img.shields.io/npm/v/redis.svg?style=flat-square" alt="NPM version"></a>
1214
<a href="https://travis-ci.org/NodeRedis/node_redis"><img src="https://travis-ci.org/NodeRedis/node_redis.svg?style=flat-square&branch=master" alt="Build Status" /></a>
1315
<a href="https://coveralls.io/r/NodeRedis/node_redis?branch="><img src="https://coveralls.io/repos/NodeRedis/node_redis/badge.svg?style=flat-square&branch=" alt="Coverage Status" /></a>
1416
<a href="https://ci.appveyor.com/project/BridgeAR/node-redis/branch/master"><img src="https://img.shields.io/appveyor/ci/BridgeAR/node-redis/master.svg?style=flat-square&label=Windows%20Tests" alt="Windows Tests" /></a>
15-
<a href="https://twitter.com/rnfirebase"><img src="https://img.shields.io/twitter/follow/NodeRedis.svg?style=flat-square&colorA=1da1f2&colorB=&label=Follow%20on%20Twitter" alt="Follow on Twitter"></a>
17+
<a href="https://twitter.com/NodeRedis"><img src="https://img.shields.io/twitter/follow/NodeRedis.svg?style=flat-square&colorA=1da1f2&colorB=&label=Follow%20on%20Twitter" alt="Follow on Twitter"></a>
1618
</p>
1719

1820
---
1921

20-
This is a complete and feature rich Redis client for node.js. __It supports all
22+
This is a complete and feature rich Redis client for Node.js. __It supports all
2123
Redis commands__ and focuses on high performance.
2224

2325
Install with:
2426

25-
npm install redis
27+
```bash
28+
npm install redis
29+
```
2630

2731
## Usage Example
2832

2933
```js
30-
var redis = require("redis"),
31-
client = redis.createClient();
34+
const redis = require("redis");
35+
const client = redis.createClient();
3236

3337
// if you'd like to select database 3, instead of 0 (default), call
3438
// client.select(3, function() { /* ... */ });
@@ -69,6 +73,7 @@ landscape.
6973
### Promises
7074

7175
#### Native Promises
76+
7277
If you are using node v8 or higher, you can promisify node_redis with [util.promisify](https://nodejs.org/api/util.html#util_util_promisify_original) as in:
7378
```js
7479
const {promisify} = require('util');
@@ -92,6 +97,7 @@ async function myFunc() {
9297
```
9398

9499
#### Bluebird Promises
100+
95101
You can also use node_redis with promises by promisifying node_redis with
96102
[bluebird](https://github.com/petkaantonov/bluebird) as in:
97103

0 commit comments

Comments
 (0)