Namespace: lorem

faker. lorem

Methods


<static> lines(lineCount)

returns lines of lorem separated by '\n'

Parameters:
Name Type Description
lineCount number

defaults to a random number between 1 and 5


<static> lines(lineCount)

returns lines of lorem separated by '\n'

Parameters:
Name Type Description
lineCount number

defaults to a random number between 1 and 5


<static> paragraph(sentenceCount)

paragraph

Parameters:
Name Type Description
sentenceCount number

defaults to 3


<static> paragraph(sentenceCount)

paragraph

Parameters:
Name Type Description
sentenceCount number

defaults to 3


<static> paragraphs(paragraphCount, separator)

paragraphs

Parameters:
Name Type Description
paragraphCount number

defaults to 3

separator string

defaults to '\n \r'


<static> paragraphs(paragraphCount, separator)

paragraphs

Parameters:
Name Type Description
paragraphCount number

defaults to 3

separator string

defaults to '\n \r'


<static> sentence(wordCount, range)

sentence

Parameters:
Name Type Description
wordCount number

defaults to a random number between 3 and 10

range number

<static> sentence(wordCount, range)

sentence

Parameters:
Name Type Description
wordCount number

defaults to a random number between 3 and 10

range number

<static> sentences(sentenceCount, separator)

sentences

Parameters:
Name Type Description
sentenceCount number

defautls to a random number between 2 and 6

separator string

defaults to ' '


<static> sentences(sentenceCount, separator)

sentences

Parameters:
Name Type Description
sentenceCount number

defautls to a random number between 2 and 6

separator string

defaults to ' '


<static> slug(wordCount)

slug

Parameters:
Name Type Description
wordCount number

number of words, defaults to 3


<static> slug(wordCount)

slug

Parameters:
Name Type Description
wordCount number

number of words, defaults to 3


<static> text(times)

returns random text based on a random lorem method

Parameters:
Name Type Description
times number

<static> text(times)

returns random text based on a random lorem method

Parameters:
Name Type Description
times number

<static> word(length)

generates a word of a specified length

Parameters:
Name Type Description
length number

length of the word that should be returned. Defaults to a random length


<static> word(length)

generates a word of a specified length

Parameters:
Name Type Description
length number

length of the word that should be returned. Defaults to a random length


<static> words(num)

generates a space separated list of words

Parameters:
Name Type Description
num number

number of words, defaults to 3


<static> words(num)

generates a space separated list of words

Parameters:
Name Type Description
num number

number of words, defaults to 3

Namespace: lorem

faker. lorem

Methods


<static> lines(lineCount)

returns lines of lorem separated by '\n'

Parameters:
Name Type Description
lineCount number

defaults to a random number between 1 and 5


<static> lines(lineCount)

returns lines of lorem separated by '\n'

Parameters:
Name Type Description
lineCount number

defaults to a random number between 1 and 5


<static> paragraph(sentenceCount)

paragraph

Parameters:
Name Type Description
sentenceCount number

defaults to 3


<static> paragraph(sentenceCount)

paragraph

Parameters:
Name Type Description
sentenceCount number

defaults to 3


<static> paragraphs(paragraphCount, separator)

paragraphs

Parameters:
Name Type Description
paragraphCount number

defaults to 3

separator string

defaults to '\n \r'


<static> paragraphs(paragraphCount, separator)

paragraphs

Parameters:
Name Type Description
paragraphCount number

defaults to 3

separator string

defaults to '\n \r'


<static> sentence(wordCount, range)

sentence

Parameters:
Name Type Description
wordCount number

defaults to a random number between 3 and 10

range number

<static> sentence(wordCount, range)

sentence

Parameters:
Name Type Description
wordCount number

defaults to a random number between 3 and 10

range number

<static> sentences(sentenceCount, separator)

sentences

Parameters:
Name Type Description
sentenceCount number

defautls to a random number between 2 and 6

separator string

defaults to ' '


<static> sentences(sentenceCount, separator)

sentences

Parameters:
Name Type Description
sentenceCount number

defautls to a random number between 2 and 6

separator string

defaults to ' '


<static> slug(wordCount)

slug

Parameters:
Name Type Description
wordCount number

number of words, defaults to 3


<static> slug(wordCount)

slug

Parameters:
Name Type Description
wordCount number

number of words, defaults to 3


<static> text(times)

returns random text based on a random lorem method

Parameters:
Name Type Description
times number

<static> text(times)

returns random text based on a random lorem method

Parameters:
Name Type Description
times number

<static> word(length)

generates a word of a specified length

Parameters:
Name Type Description
length number

length of the word that should be returned. Defaults to a random length


<static> word(length)

generates a word of a specified length

Parameters:
Name Type Description
length number

length of the word that should be returned. Defaults to a random length


<static> words(num)

generates a space separated list of words

Parameters:
Name Type Description
num number

number of words, defaults to 3


<static> words(num)

generates a space separated list of words

Parameters:
Name Type Description
num number

number of words, defaults to 3