I\'m in the process of learning Express - and thinking of the best place to save config style data. Options available are either in app.locals or app.set (settings)... so:
The express api reference says :
By default Express exposes only a single app-level local variable, settings.
and either way is ok:
app.locals.title = 'My App'; app.set('title', 'My App'); // use settings.title in a view