Module

Faker.Lorem

Package
purescript-faker-ffi
Repository
philippedev101/purescript-faker-ffi

#word Source

word :: Gen String

Generate a random lorem word with default options.

#wordN Source

wordN :: Int -> Gen String

Generate a random lorem word of specified length.

#wordRange Source

wordRange :: RangeOpts -> Gen String

Generate a random lorem word with length in a range.

#words Source

words :: Gen String

Generate random lorem words (default count).

#wordsN Source

wordsN :: Int -> Gen String

Generate a specific number of lorem words.

#wordsRange Source

wordsRange :: RangeOpts -> Gen String

Generate lorem words with count in a range.

#sentence Source

sentence :: Gen String

Generate a random lorem sentence with default word count.

#sentenceN Source

sentenceN :: Int -> Gen String

Generate a random lorem sentence with specified word count.

#sentenceRange Source

sentenceRange :: RangeOpts -> Gen String

Generate a random lorem sentence with word count in a range.

#sentences Source

sentences :: Gen String

Generate random lorem sentences with default count.

#sentencesN Source

sentencesN :: Int -> Gen String

Generate a specific number of lorem sentences.

#sentencesOpts Source

sentencesOpts :: SentencesOpts -> Gen String

Generate lorem sentences with count and custom separator.

#SentencesOpts Source

type SentencesOpts = { count :: Int, separator :: String }

#paragraph Source

paragraph :: Gen String

Generate a random lorem paragraph with default sentence count.

#paragraphN Source

paragraphN :: Int -> Gen String

Generate a random lorem paragraph with specified sentence count.

#paragraphRange Source

paragraphRange :: RangeOpts -> Gen String

Generate a random lorem paragraph with sentence count in a range.

#paragraphs Source

paragraphs :: Gen String

Generate random lorem paragraphs with default count.

#paragraphsN Source

paragraphsN :: Int -> Gen String

Generate a specific number of lorem paragraphs.

#paragraphsOpts Source

paragraphsOpts :: ParagraphsOpts -> Gen String

Generate lorem paragraphs with count and custom separator.

#ParagraphsOpts Source

type ParagraphsOpts = { count :: Int, separator :: String }

#slug Source

slug :: Gen String

Generate a random lorem slug with default word count.

#slugN Source

slugN :: Int -> Gen String

Generate a random lorem slug with specified word count.

#slugRange Source

slugRange :: RangeOpts -> Gen String

Generate a random lorem slug with word count in a range.

#lines Source

lines :: Gen String

Generate random lorem lines with default count.

#linesN Source

linesN :: Int -> Gen String

Generate a specific number of lorem lines.

#linesRange Source

linesRange :: RangeOpts -> Gen String

Generate lorem lines with count in a range.

#text Source

text :: Gen String

Generate random lorem text (may include words, sentences, or paragraphs).

#RangeOpts Source

type RangeOpts = { max :: Int, min :: Int }