Skip to content
Functionutilsv0.8.17

capitalize

Returns the word with its first letter capitalized and the rest in lowercase.

capitalize(word: string): string