# Spongebob
A utility to convert text to spongebob case a.k.a tHe MoCkInG sPoNgEbOb MeMe.
[](https://crates.io/crates/spongebob)
[](https://docs.rs/spongebob)
[](https://github.com/asasine/spongebob/actions/workflows/rust.yaml?query=branch%3Amain)
[](https://crates.io/crates/spongebob)
# Examples
The command randomizes the words by default:
```bash
spongebob hello world
# heLlO WoRld
```
You can also alternate with `--alternate`:
```bash
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
```bash
cargo install spongebob
```
# Library
Library functions are available to use in your own projects. See the [documentation](https://docs.rs/spongebob) for more information.