Skip to content

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

License

Notifications You must be signed in to change notification settings

asasine/spongebob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.