Randomize the casing of any text. Can be used via CLI or Node.js API.
npm i -g rcase # Take out the -g if using for a node package.
Basic:
rcase "How are we doing today?"
# Output: how aRE we doInG TodaY?
Via Stdin:
echo "How are we doing today?" | rcase
# Output: HOw ARE WE dOiNg ToDay?
import { randomcase } from "rcase";
const randomCasedText = randomcase("My randomized case text");
¯\(ツ)/¯
Note: Randomization is done via Math.random()
. Don't expect cryptographic grade
randomization here.