A utility to convert text to spongebob case a.k.a tHe MoCkInG sPoNgEbOb MeMe.
The command randomizes the words by default:
spongebob hello world
# heLlO WoRldYou can also alternate with --alternate:
spongebob --alternate hello world
# hElLo WoRlDYou can copy to the clipboard with existing utilities:
- Windows:
spongebob foo | clip - macOS:
spongebob foo | pbcopy - Linux (Wayland):
spongebob foo | wl-copy - Linux (X11):
spongebob foo | xclip - WSL:
spongebob foo | clip.exe
cargo install spongebobLibrary functions are available to use in your own projects. See the documentation for more information.