moxname

1.0.6 • Public • Published
A simple and intuitive way to generate american english names

Functionality

All generated names are unique per function call. A maximum of 1000 unique first names can be generated per gender and a maximum of 1000 unique full names per function call based on the top 50 most common last names in the US.

Functions

All functions return an array of names.

getFirstName(gender, amount) 
getLastName(amount) 
getFullName(gender, amount) 

Credit for list of names go to

Last names: link Female first names: link Male first names: link

Package Sidebar

Install

npm i moxname

Weekly Downloads

63

Version

1.0.6

License

ISC

Unpacked Size

17.6 kB

Total Files

6

Last publish

Collaborators

  • assimilateswe