Conventions

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

Code words in text are shown as follows:

Before we proceed, let's change the welcome message from: routes/index.js file to the following highlighted code.

A block of code is set as follows:

/* GET home page. */
router.get('/', function(req, res, next) {
    res.render('index', { title: 'Express from server folder' });
});

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

/* GET home page. */
router.get('/', function(req, res, next) {
    res.render('index', { title: 'Express from server ...

Get Node.js 6.x Blueprints 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.