#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

3 stable releases

new 1.1.0 May 16, 2024
1.0.1 Feb 15, 2024

#673 in Text processing

Download history 113/week @ 2024-02-09 84/week @ 2024-02-16 22/week @ 2024-02-23 6/week @ 2024-03-01 43/week @ 2024-03-22 19/week @ 2024-03-29

194 downloads per month

MIT license

13KB
216 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–18MB
~274K SLoC