Namebot is a major component of what we use at DIY.org to generate silly nicknames for kids during signup. Combined with a phonetic dictionary, namebot generates unique name combinations based on a specified set of base words. For simplicity, namebot is exposed as a readable stream which can be piped into stdout or a write stream.
npm install namebot
var Namebot = require('namebot');
var stream = new Namebot({
base: ['cuttlefish', 'shrew']
count: 100
});
stream.pipe(process.stdout);
stream.start();
[sudo] npm install -g namebot
namebot --base "['mega', 'shark', 'giant', 'octopus']" --count 25
An array of words that form the basis for names. All names generated will include a word from this object.
Local path to a phonetic dictionary (see CMUdict for reference).
Number of names that will be generated. Will default to one (1) if not set.
npm test
The rhyming method for namebot was derived from James Halliday's node-rhyme module.