#upper-case #lower-case #mocking #letter #text #transforming #spongebob

mocker

A library for transforming text with uppercase and lowercase letters, resembling the Spongebob Mock Meme

6 releases

0.1.5 May 11, 2021
0.1.4 May 11, 2021

#1502 in Text processing

GPL-3.0-or-later

15KB
68 lines

mocker

Rust library for transforming text into lowercase and uppercase letters, resembling the Spongebob Mock.

example

printing Hello, world! in an alternating case.

use mocker::AlternatingMocker;

fn main() {
    let text = "Hello, world!";

    let mut mocker = AlternatingMocker::new();

    let mocked = mocker::mock(&text, &mut mocker);

    println!("{}", mocked);
}

Dependencies

~310KB