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

Functions

Returns a new haiku-formatted name

Types

build_args :: keyword

Functions

build()
Returns a new haiku-formatted name.

iex> Haiku.build
"quiet-morning-5933"

iex> Haiku.build(delimiter: '.')
"quiet.morning.5933"
build(list)

Specs

build(build_args) :: String.t