spikes-random-words
v1.2.0
Published
gives a selected amount of random words
Downloads
5
Readme
Example:
___const SRW = require('spikes-random-words')
console.log(RW.commonWord()) //outputs random common word console.log(RW.randomWords(2)) //outputs 2 random words___
Docs:
___.randomWord() //gives random word - returns as string .randomWords(Value) //gives random words - returns as array .randomLetterWords("Letter", Value) //gives random words beginning with certain letter - returns as array
.commonWord() //gives random common word - returns as string .commonWords(value) //gives random common words - returns as array .commonLetterWords("Letter", Value) //gives random common words beginning with certain letter - returns as array___