Skip to content

ahtung/tanga.ex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tanga

Build Status Coverage Status Hex.pm version Hex.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

  • Swapcase
  • Center
  • Next
  • Squeeze

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