Manipulate strings to give you the title format you need: capitalized/non-capitalized per word etc...
You can try and see the result realtime HERE
capWords(string)
capFirstWord(string)
capAll(string)
capCamelize(string)
lowWords(string)
lowFirstWord(string)
lowAll(string)
lowCamelize(string)
Capitalize each word
var formatTitle = require('format-title');
console.log(formatTitle.capWords('this is my title'));
// > This Is My Title
Capitalize first word only
var formatTitle = require('format-title');
console.log(formatTitle.capFirstWord('this is my title'));
// > This is my title
Capitalize all (trivial)
var formatTitle = require('format-title');
console.log(formatTitle.capAll('this is my title'));
// > THIS IS MY TITLE