randword

0.1.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i randword

Weekly Downloads

5

Version

0.1.1

License

BSD

Last publish

Collaborators

  • sfrdmn