Generates a random adjective. The result value is capitalized.
a random adjective.
Generates a random color name. The result value is capitalized.
a random color name.
Generates a random email address.
a random email address.
Generates a random person's name which has the following structure
a random name.
Generates a random noun. The result value is capitalized.
a random noun.
Generates a random phone number. The phone number has the format: (XXX) XXX-YYYY
a random phone number.
Generates a random phrase which consists of few words separated by spaces. The first word is capitalized, others are not.
(optional) minimum string length.
maximum string length.
a random phrase.
Generates a random text, consisting of first names, last names, colors, stuffs, adjectives, verbs, and punctuation marks.
minimum amount of words to generate. Text will contain 'minSize' words if 'maxSize' is omitted.
(optional) maximum amount of words to generate.
a random text.
Generates a random verb. The result value is capitalized.
a random verb.
Generates a random word from available first names, last names, colors, stuffs, adjectives, or verbs.
a random word.
Generates a random text that consists of random number of random words separated by spaces.
(optional) a minimum number of words.
a maximum number of words.
a random text.
Generated using TypeDoc
Random generator for various text values like names, addresses or phone numbers.
Example
let value1 = RandomText.name(); // Possible result: "Segio" let value2 = RandomText.verb(); // Possible result: "Run" let value3 = RandomText.Text(50); // Possible result: "Run jorge. Red high scream?"