Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

A block of code is set as follows:

var redis = require("redis"); // 1
var client = redis.createClient(); // 2

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

var redis = require("redis"); // 1
var client = redis.createClient(); // 2
console.log("Redis Essentials"); // 3

Please note that all the code snippets in this book will have inline comments with numbers. After the code is presented, it will be explained by referencing those numbers.

Each command line starts with a dollar sign ( ...

Get Redis Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.