Tanga

Build StatusCoverage StatusHex.pm versionHex.pm downloads

Sexier strings for Elixir

Usage

# next
"aab" = Tanga.next("aaa")

# squeeze
"yelow mon" = Tanga.squeeze("yellow moon")

# center
"       hello        " = Tanga.center("hello", 20)

# swapcase
"hELLO" = Tanga.swapcase("Hello")

Installation

If available in Hex, the package can be installed by adding tanga to your list of dependencies in mix.exs:

def deps do
  [
    {:tanga, "~> 0.7.0"}
  ]
end

Roadmap

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/tanga.