O'Reilly logo
  • Patrick S thinks this is interesting:

app.set('view engine', name);

Or, with values:

var path = require('path')
// ... Configurations
app.set('views', path.join(__dirname, 'templates'));
app.set('view engine', 'ejs');

From

Cover of Pro Express.js

Note

using templates