Skip to content

Commit f307f73

Browse files
authored
public repo edit
1 parent 1d06de1 commit f307f73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-cache-for-redis/cache-nodejs-get-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ Don't create a new connections for each operation in your code. Instead, reuse c
5151

5252
## Create a new Node.js app
5353

54-
Create a new script file named *redistest.js* and install required packages with `npm install redis bluebird`.
54+
Create a new script file named *redistest.js*. Use the command `npm install redis bluebird` to install required packages.
5555

5656
Add the following example JavaScript to the file. This code shows you how to connect to an Azure Cache for Redis instance using the cache host name and key environment variables. The code also stores and retrieves a string value in the cache. The `PING` and `CLIENT LIST` commands are also executed. For more examples of using Redis with the [node_redis](https://github.com/mranney/node_redis) client, see [https://redis.js.org/](https://redis.js.org/).
5757

5858
```js
5959
var redis = require("redis");
6060
var bluebird = require("bluebird");
6161

62-
// Convert redis client API to use promises, to make it usable with async/await syntax
62+
// Convert Redis client API to use promises, to make it usable with async/await syntax
6363
bluebird.promisifyAll(redis.RedisClient.prototype);
6464
bluebird.promisifyAll(redis.Multi.prototype);
6565

0 commit comments

Comments
 (0)