Capitalize Words
capitalizeWords is a function capitalize the first letter of each word in a string.
Example
This function will change the first letter of each string to uppercase:
ts
import { capitalizeWords } from "@titocandradev/neatcore";
const result = capitalizeWords("hello world");
// Hello World