rcase
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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.

/rcase/

    Package Sidebar

    Install

    npm i rcase

    Weekly Downloads

    0

    Version

    2.0.0

    License

    ISC

    Unpacked Size

    9.8 kB

    Total Files

    6

    Last publish

    Collaborators

    • drew-y