https://github.com/ahtung/tanga.ex
Sexier strings for Elixir
https://github.com/ahtung/tanga.ex
elixir hex
Last synced: 12 months ago
JSON representation
Sexier strings for Elixir
- Host: GitHub
- URL: https://github.com/ahtung/tanga.ex
- Owner: ahtung
- License: apache-2.0
- Created: 2018-01-21T22:35:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-11-26T21:12:21.000Z (over 6 years ago)
- Last Synced: 2025-05-30T12:11:36.637Z (about 1 year ago)
- Topics: elixir, hex
- Language: Elixir
- Size: 43.9 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Tanga
[](https://travis-ci.org/ahtung/tanga.ex)
[](https://coveralls.io/r/ahtung/tanga.ex?branch=master)
[](https://hex.pm/packages/tanga)
[](https://hex.pm/packages/tanga)
Sexier strings for Elixir
## Usage
```elixir
# 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](https://hex.pm/docs/publish), the package can be installed
by adding `tanga` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:tanga, "~> 0.7.0"}
]
end
```
## Roadmap
- [x] Swapcase
- [x] Center
- [ ] Next
- [ ] Squeeze
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/tanga](https://hexdocs.pm/tanga).