Campo · Word
Campo · Word · lorem.word. Método de geração · Exemplo
lorem.word
Configurações do gerador
Gere dados para ver os resultados.
Parâmetros & Exemplo
Generates a word of a specified length.
lorem.word(options?: number | { length?: NumberOrRange; strategy?: LengthStrategyType; })- options
- The expected length of the word or the options to use.
- options.length
- The expected length of the word.
- options.strategy
- The strategy to apply when no words with a matching length are found. Defaults to 'fail'.
Exemplo
"sordeo"Use dados sintéticos em um ambiente de teste.