Words generator

Returns a random string containing some words separated by spaces.

word.words

Generator settings

Generate data to see results here.

Parameters & Example

Returns a random string containing some words separated by spaces.

word.words(options?: number | { count?: NumberOrRange; })
options
The optional options object or the number of words to return.
options.count
The number of words to return. Defaults to a random value between 1 and 3.

Example

"times separate funny"

Use synthetic data in a test environment.

Related generators

Explore scenarios