Capitalize first letter of each word in a string.
Installation
npm i capitalizefirstletterofwords --save
Synopsis
Capitalize first letter of each word in a string:
const capitalizeAllWords = require("capitalizefirstletterofwords");
capitalizeAllWords("lorem ipsum is simply dummy"); //=> "Lorem Ipsum Is Simply Dummy"
capitalizeAllWords("hello there"); //=> "Hello There"
License
MIT