#convert-text #case #clipboard #words #command-line #cross-platform

bin+lib spongebob

A utility to convert text to spongebob case a.k.a tHe MoCkInG sPoNgEbOb MeMe

4 stable releases

new 1.1.1 May 23, 2024
1.1.0 May 16, 2024
1.0.1 Feb 15, 2024

#817 in Text processing

Download history 176/week @ 2024-02-12 30/week @ 2024-02-19 19/week @ 2024-02-26 44/week @ 2024-03-25 18/week @ 2024-04-01 126/week @ 2024-05-13

126 downloads per month

MIT license

14KB
227 lines

Spongebob

A utility to convert text to spongebob case a.k.a tHe MoCkInG sPoNgEbOb MeMe.

Cross-platform clipboard support for Windows, macOS, and Linux included.

Crates.io Version Crates.io Documentation CI Crates.io Downloads

Examples

The command randomizes the words by default and copies them to the clipboard:

spongebob hello world
# heLlO WoRld

You can also alternate with --alternate:

spongebob --alternate hello world
# hElLo WoRlD

You can disable the clipboard with --no-copy:

spongebob --no-copy hello world

Installation

cargo install spongebob

Library

Library functions are available to use in your own projects. See the documentation for more information.

Dependencies

~6–21MB
~274K SLoC