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