RandomUsername
Shameless port of https://github.com/polleverywhere/random_username
Installation
If available in Hex, the package can be installed as:
- Add
random_username
to your list of dependencies inmix.exs
:
def deps do
[{:random_username, "~> 0.1.0"}]
end
- Ensure
random_username
is started before your application:
def application do
[applications: [:random_username]]
end
Usage
RandomUsername.noun #=> action
RandomUsername.adjective #=> tiger
RandomUsername.username #=> actiontiger