random-part-of-speech
Returns one or more random nouns, verbs, adjectives or adverbs, asynchronously through promises.
Each call opens a file exactly once, as a stream. This means that getAny()
always returns words of the same type in one call.
Install
npm install random-part-of-speech
Usage
const rpos = ; // Print any single word.rpos;# 'short wave' // Print 3 nouns.rpos;# 'podsolic soil' 'Trichomanes' 'coelenterate' // Etc.rpos;# 'gilded' 'denigrative' 'spaced-out' 'carinal' 'untempting' 'punishing' 'malevolent' 'short-stemmed'rpos;# 'offstage' 'systematically' 'postoperatively' 'luxuriously' 'over' 'on camera'rpos;# 'stagger' 'pollenate' 'dock' 'unclothe'