moxname
Version:
Generates an english first name based on gender.
24 lines (18 loc) • 841 B
Markdown
<h6>A simple and intuitive way to generate american english names</h6>
<h1>Functionality</h1>
<p>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.</p>
<h6>Functions</h6>
All functions return an array of names.
```javascript
getFirstName(gender, amount)
```
```javascript
getLastName(amount)
```
```javascript
getFullName(gender, amount)
```
<i>Credit for list of names go to</i>
Last names: [link](https://www.al.com/news/2019/10/50-most-common-last-names-in-america.html)
Female first names: [link](https://www.verywellfamily.com/top-1000-baby-girl-names-2757832)
Male first names: [link](https://www.verywellfamily.com/top-1000-baby-boy-names-2757618)