random-word-by-length

0.1.0 • Public • Published

random-word-by-length

Returns a random English word from the Letterpress Word List with an opitonal max length.

Install

$ npm install --save random-word-by-length

Usage

var randomWord = require('random-word-by-length');
 
randomWord();
//=> ferriferous
 
randomWord(6);
//=> boride

CLI

You can also use it as a CLI app by installing it globally:

$ npm install --global random-word-by-length

Usage

$ random-word-by-length
ferriferous
 
$ random-word-by-length -l 5
goor

Tip

Use it to generate project/release names:

echo $(random-word-by-length)-$(random-word-by-length)
blacksnake-nautics

License

MIT © Sindre Sorhus

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    284
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    284

Package Sidebar

Install

npm i random-word-by-length

Weekly Downloads

284

Version

0.1.0

License

MIT

Last publish

Collaborators

  • cwmma