Skip to content

Commit 96b953b

Browse files
author
MartinChavez
committed
Format document
1 parent 1a2634a commit 96b953b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

14 - Persisting Data.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/* Persisting Data */
22
/*
3-
- Node works great with many databases
4-
- Most of the dabases have non-blocking drivers
3+
- Node works great with many databases
4+
- Most of the databases have non-blocking drivers
55
6-
REDIS
7-
- Redis is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker
6+
REDIS
7+
- Redis is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker
88
9-
To install run:
9+
To install run:
1010
"npm install redis --save"
11-
*/
11+
*/
1212

1313
var redis = require('redis');
1414
var client = redis.createClient();
@@ -19,15 +19,15 @@ client.set("2", "two");
1919
client.set("3", "three");
2020

2121
// To retrieve values from the database
22-
client.get("1", function(err, reply){
22+
client.get("1", function (err, reply) {
2323
// Commands are non-blocking
2424
console.log(reply);
2525
});
2626

2727
/*
28-
Run the following cmd to start a redis client and save/retrieve data
29-
node '.\14 - Persisting Data.js'
28+
Run the following cmd to start a redis client and save/retrieve data
29+
node '14 - Persisting Data.js'
3030
31-
Expected response:
31+
Expected response:
3232
- one on the cmd
3333
*/

0 commit comments

Comments
 (0)