Studly Caps
Transforms the case of given text into studly caps. Determination of whether a character should be uppercase vs lowercase is handled by a random generator (seedrandom
).
Usage
const studlyCaps = ; // Converts an input string's text case into studly capsconsole;// => hELlo worlD // Accepts a custom seed, defaults to Date.now()console;// => helLo WORlD