random-title
Return a random title populated by semi-pronounceable random (nonsense) words.
Install
$ npm install --save random-title
Usage
var randomTitle = ; // API// - randomTitle([options]); // options// - words// - min// - max
Default is a title with a random number of words from 12
to 18
.
This length is chosen as the default as it works out to the average English sentence is in that range.
;// => 'Witpevze Mappos Isoletu Fo Res Bi Aeow Pofin Rupoho Revzi Utva Ne.'
Optionally specify the number of words in the title:
;// => 'Waddik Jeasmov Cakgilta Ficub Up.'
Can optionally provide min
and max
, then with a random words count:
;// => 'Fusce Dapibus Tellus Ac Cursus Commodo.'
Note: these min and max are inclusive, so they are included in the range.
Related
- random-sentence - Return a random sentence populated by semi-pronounceable random (nonsense) words.
- random-paragraph - Return a random paragraph generated from sentences populated by semi-pronounceable random (nonsense) words.
- random-syllable - Return a semi-speakable syllable, 2 or 3 letters.
- random-lorem - Return a semi-pronounceable random (nonsense) word.
Contributing
Pull requests and stars are highly welcome.
For bugs and feature requests, please create an issue.