#convert-text #clipboard #case #command-line #words #macos

bin+lib spongebob

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

7 stable releases

2.0.0 Oct 19, 2024
1.2.1 Sep 26, 2024
1.1.1 May 23, 2024
1.0.1 Feb 15, 2024

#1043 in Text processing

Download history 106/week @ 2024-09-14 142/week @ 2024-09-21 76/week @ 2024-09-28 7/week @ 2024-10-05 6/week @ 2024-10-12 193/week @ 2024-10-19 3/week @ 2024-10-26

196 downloads per month

MIT license

17KB
353 lines

Spongebob

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

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

Examples

The command randomizes the words by default:

spongebob hello world
# heLlO WoRld

You can also alternate with --alternate:

spongebob --alternate hello world
# hElLo WoRlD

You 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

Installation

cargo install spongebob

Library

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

Dependencies

~7–16MB
~206K SLoC