random-word
v3.0.0
Published
Get a random English word
Downloads
2,727
Maintainers
Readme
random-word
Get a random English word
Install
npm install random-word
Usage
import randomWord from 'random-word';
randomWord();
//=> 'ferriferous'
randomWord();
//=> 'microfloppies'
The underlying list of words is a 2.7 MB text file with 274,925 English words.
Related
- random-word-cli - CLI for this package