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