titleize Capitalize every word in a string: unicorn cake → Unicorn Cake Install $ npm install --save titleize Usage const titleize = require('@reflect/titleize'); titleize('foo bar'); //=> 'Foo Bar' titleize('foo-bar'); //=> 'Foo Bar' License MIT © Sindre Sorhus, Brad Heller