@cjser/random-word
v3.0.0-cjser.2
Published
Get a random English word
Maintainers
Readme
random-word
Get a random English word
Install
npm install random-wordUsage
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
cjser
This package is a CommonJS-compatible build generated by cjser for projects that still need require() support. The source version matches the original npm package version, with a cjser prerelease suffix for this generated build.
Original repository: https://github.com/sindresorhus/random-word
