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();
Returns a random full name.
Parameters:
options
gender
: (string) 'male' or 'female' to limit the result to one or the other
Return a random american sounding first name.
Parameters:
options
gender
: (string) 'male' or 'female' to limit the result to one or the other
Return a random american sounding last name.
options
does nothing lol
Pull requests are more than welcome, and will almost always be merged and responded to with great sarcasm.
There are only 3 rules:
- Reasonable belief than a person with American citizenship with that name exists, will exist, or has existed at any time.
- Type it out with the US keyboard layout using the English alphabet so that uneducated Americans can sound out the sweetness of freedom.
- No removing names, America is a melting pot you judgemental bitch.
npm run test