capitalizefirstletterofwords
v1.0.6
Published
capitalize first letter of each word in a string
Downloads
5
Maintainers
Readme
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