lorem_ipsum

Package Version Hex Docs

gleam add lorem_ipsum@1
import lorem_ipsum

pub fn main() -> Nil {
  let words = lorem_ipsum.words(5)
  let sentences = lorem_ipsum.sentences(2)
  let paragraphs = lorem_ipsum.paragraphs(2)

  io.println(words)
  io.println(sentences)
  io.println(paragraphs)
}

Further documentation can be found at https://hexdocs.pm/lorem_ipsum.

API

For advanced usage you can use:

See the module docs for the Options, Units, and Format types.

Development

gleam run   # Run the project
gleam test  # Run the tests
Search Document