haiku v0.3.0
Haiku
Generates memorable names similar to Xaddress or Heroku.
You can configure Haiku to use custom words and functions in your config/config.exs:
config :haiku,
delimiter: '.',
range: 9999,
adjectives: ~w(autumn hidden bitter misty},
nouns: ~w(meadow sun glade bird}
reducer_module: Haiku.Custom
reducer_function: :custom_reduce
Note that reducer_function receives a list of args with the
format: [delimiter, adjective, noun, number].
Summary
Returns a new haiku-formatted name
Functions
Returns a new haiku-formatted name.
iex> Haiku.build
"quiet-morning-5933"
iex> Haiku.build(delimiter: '.')
"quiet.morning.5933"