lorem

faker. lorem

Source:

Methods

(static) lines(lineCount)

returns lines of lorem separated by '\n'

Source:
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'

Source:
Parameters:
Name Type Description
lineCount number

defaults to a random number between 1 and 5

(static) paragraph(sentenceCount)

paragraph

Source:
Parameters:
Name Type Description
sentenceCount number

defaults to 3

(static) paragraph(sentenceCount)

paragraph

Source:
Parameters:
Name Type Description
sentenceCount number

defaults to 3

(static) paragraphs(paragraphCount, separator)

paragraphs

Source:
Parameters:
Name Type Description
paragraphCount number

defaults to 3

separator string

defaults to '\n \r'

(static) paragraphs(paragraphCount, separator)

paragraphs

Source:
Parameters:
Name Type Description
paragraphCount number

defaults to 3

separator string

defaults to '\n \r'

(static) sentence(wordCount, range)

sentence

Source:
Parameters:
Name Type Description
wordCount number

defaults to a random number between 3 and 10

range number

(static) sentence(wordCount, range)

sentence

Source:
Parameters:
Name Type Description
wordCount number

defaults to a random number between 3 and 10

range number

(static) sentences(sentenceCount, separator)

sentences

Source:
Parameters:
Name Type Description
sentenceCount number

defautls to a random number between 2 and 6

separator string

defaults to ' '

(static) sentences(sentenceCount, separator)

sentences

Source:
Parameters:
Name Type Description
sentenceCount number

defautls to a random number between 2 and 6

separator string

defaults to ' '

(static) slug(wordCount)

slug

Source:
Parameters:
Name Type Description
wordCount number

number of words, defaults to 3

(static) slug(wordCount)

slug

Source:
Parameters:
Name Type Description
wordCount number

number of words, defaults to 3

(static) text(times)

returns random text based on a random lorem method

Source:
Parameters:
Name Type Description
times number

(static) text(times)

returns random text based on a random lorem method

Source:
Parameters:
Name Type Description
times number

(static) word(length)

generates a word of a specified length

Source:
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

Source:
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

Source:
Parameters:
Name Type Description
num number

number of words, defaults to 3

(static) words(num)

generates a space separated list of words

Source:
Parameters:
Name Type Description
num number

number of words, defaults to 3

faker. lorem

Source:

Methods

(static) lines(lineCount)

returns lines of lorem separated by '\n'

Source:
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'

Source:
Parameters:
Name Type Description
lineCount number

defaults to a random number between 1 and 5

(static) paragraph(sentenceCount)

paragraph

Source:
Parameters:
Name Type Description
sentenceCount number

defaults to 3

(static) paragraph(sentenceCount)

paragraph

Source:
Parameters:
Name Type Description
sentenceCount number

defaults to 3

(static) paragraphs(paragraphCount, separator)

paragraphs

Source:
Parameters:
Name Type Description
paragraphCount number

defaults to 3

separator string

defaults to '\n \r'

(static) paragraphs(paragraphCount, separator)

paragraphs

Source:
Parameters:
Name Type Description
paragraphCount number

defaults to 3

separator string

defaults to '\n \r'

(static) sentence(wordCount, range)

sentence

Source:
Parameters:
Name Type Description
wordCount number

defaults to a random number between 3 and 10

range number

(static) sentence(wordCount, range)

sentence

Source:
Parameters:
Name Type Description
wordCount number

defaults to a random number between 3 and 10

range number

(static) sentences(sentenceCount, separator)

sentences

Source:
Parameters:
Name Type Description
sentenceCount number

defautls to a random number between 2 and 6

separator string

defaults to ' '

(static) sentences(sentenceCount, separator)

sentences

Source:
Parameters:
Name Type Description
sentenceCount number

defautls to a random number between 2 and 6

separator string

defaults to ' '

(static) slug(wordCount)

slug

Source:
Parameters:
Name Type Description
wordCount number

number of words, defaults to 3

(static) slug(wordCount)

slug

Source:
Parameters:
Name Type Description
wordCount number

number of words, defaults to 3

(static) text(times)

returns random text based on a random lorem method

Source:
Parameters:
Name Type Description
times number

(static) text(times)

returns random text based on a random lorem method

Source:
Parameters:
Name Type Description
times number

(static) word(length)

generates a word of a specified length

Source:
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

Source:
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

Source:
Parameters:
Name Type Description
num number

number of words, defaults to 3

(static) words(num)

generates a space separated list of words

Source:
Parameters:
Name Type Description
num number

number of words, defaults to 3