Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 690 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 690 Bytes

Ranwords

Easily generate random words with their meaning and pronunciation.

Get started

Add ranwords to your deps function in your mix.exs

def deps do
  [
    {:ranwords, "~> 0.1.0"}
  ]
end

Run: mix deps.get

Usage

iex> Ranwords.randomWordALl

[
  %{
    "definition" => "Bent like a knee; jointed  ",
    "pronunciation" => "Jenikulate",
    "word" => "Geniculate"
  }
]

iex> Ranwords.randomWordMeaning
"Juncaceous | Of, like or pertaining to rushes"

iex> Ranwords.randomWordPronunciation
"Barbet | Barbet"

Not using Elixir? Check out the NPM library https://www.npmjs.com/package/ranwords