An npm module for generating american sounding names
Ever needed to generate a bunch of names but didn't want to fill your system with Test User 2851
?
npm install american-sounding-names
var names = require('american-sounding-names');
var randomName = names({ gender: 'female' });
var firstName = names.first();
var lastName = names.last();
names([options])
Returns a random full name.
Parameters:
options
gender
: (string) 'male' or 'female' to limit the result to one or the other.first([options])
Return a random american sounding first name.
Parameters:
options
gender
: (string) 'male' or 'female' to limit the result to one or the other.last([options])
Return a random american sounding last name.
options
does nothing lolPull requests are more than welcome, and will almost always be merged and responded to with great sarcasm.
There are only 3 rules:
npm run test