1.2.0 • Published 6 years ago
just-another-string-library v1.2.0
Just Another String Library
A library that contains methods prompted by this assignment. This methods extend the String prototype.
Methods You Can Use in This Library
capitalize()- capitalizes the first character of a string, if it is a letterallCaps()- capitalizes all letters in a stringcapitalizeWords()- capitalizes the first character of each word, if it is a letteroddCaps()- capitalizes all odd characters (first character is indexed at 0), if it is a letterevenCaps()- capitalizes all even characters (first character is indexed at 0), if it is a letterremoveExtraSpaces()- trims the spacing at the start and end of a string and removes extra spacing between wordskabobCase()- makes all characters lowercase, removes all spacing, and inserts a hyphen between each wordsnakeCase()- makes all characters lowercase, removes all spacing, and inserts an underscore between each wordcamelCase()- makes all characters lowercase, removes all spacing, and capitalizes the first character of each word except the first word