capitalize-words
Function that capitalizes the first letter of each word in a string
Example uses:
const capitalizeFn = require('capitalize-words-regex-function');
console.log(capitalizeFn('you are my best capitalize package')) // You Are My Best Capitalize Package