Skip to content
ordering! reeducate! tempests!
JavaScript
Find file
Failed to load latest commit information.
dictionaries
spec
.gitignore
.travis.yml
LICENSE
Makefile
Readme.md
config.json
index.js
package.json

Readme.md

Get a random English word!

Build Status

Usage

var randword = require('randword');

randword(function(err, word) {
  console.log(word + '!');
});

Or you can stream it!

  randword().pipe(process.stdout)

Note

This module uses a text file dictionary as its word base. It's a little over a meg in size. So you'll have that sitting in your node_modules. One positive side effect of this is that the module (theoretically) works on Windows.

The text file is from the depths of the Internet somewhere. Not sure about the nature of its copyright.

Something went wrong with that request. Please try again.