aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/locales/en/name/female_first_name.js502
-rw-r--r--lib/locales/en/name/index.js2
-rw-r--r--lib/locales/en/name/male_first_name.js502
-rw-r--r--lib/locales/en/name/name.js4
-rw-r--r--lib/name.js12
5 files changed, 1017 insertions, 5 deletions
diff --git a/lib/locales/en/name/female_first_name.js b/lib/locales/en/name/female_first_name.js
new file mode 100644
index 00000000..32f14cb5
--- /dev/null
+++ b/lib/locales/en/name/female_first_name.js
@@ -0,0 +1,502 @@
+module["exports"] = [
+ "Mary",
+ "Patricia",
+ "Linda",
+ "Barbara",
+ "Elizabeth",
+ "Jennifer",
+ "Maria",
+ "Susan",
+ "Margaret",
+ "Dorothy",
+ "Lisa",
+ "Nancy",
+ "Karen",
+ "Betty",
+ "Helen",
+ "Sandra",
+ "Donna",
+ "Carol",
+ "Ruth",
+ "Sharon",
+ "Michelle",
+ "Laura",
+ "Sarah",
+ "Kimberly",
+ "Deborah",
+ "Jessica",
+ "Shirley",
+ "Cynthia",
+ "Angela",
+ "Melissa",
+ "Brenda",
+ "Amy",
+ "Anna",
+ "Rebecca",
+ "Virginia",
+ "Kathleen",
+ "Pamela",
+ "Martha",
+ "Debra",
+ "Amanda",
+ "Stephanie",
+ "Carolyn",
+ "Christine",
+ "Marie",
+ "Janet",
+ "Catherine",
+ "Frances",
+ "Ann",
+ "Joyce",
+ "Diane",
+ "Alice",
+ "Julie",
+ "Heather",
+ "Teresa",
+ "Doris",
+ "Gloria",
+ "Evelyn",
+ "Jean",
+ "Cheryl",
+ "Mildred",
+ "Katherine",
+ "Joan",
+ "Ashley",
+ "Judith",
+ "Rose",
+ "Janice",
+ "Kelly",
+ "Nicole",
+ "Judy",
+ "Christina",
+ "Kathy",
+ "Theresa",
+ "Beverly",
+ "Denise",
+ "Tammy",
+ "Irene",
+ "Jane",
+ "Lori",
+ "Rachel",
+ "Marilyn",
+ "Andrea",
+ "Kathryn",
+ "Louise",
+ "Sara",
+ "Anne",
+ "Jacqueline",
+ "Wanda",
+ "Bonnie",
+ "Julia",
+ "Ruby",
+ "Lois",
+ "Tina",
+ "Phyllis",
+ "Norma",
+ "Paula",
+ "Diana",
+ "Annie",
+ "Lillian",
+ "Emily",
+ "Robin",
+ "Peggy",
+ "Crystal",
+ "Gladys",
+ "Rita",
+ "Dawn",
+ "Connie",
+ "Florence",
+ "Tracy",
+ "Edna",
+ "Tiffany",
+ "Carmen",
+ "Rosa",
+ "Cindy",
+ "Grace",
+ "Wendy",
+ "Victoria",
+ "Edith",
+ "Kim",
+ "Sherry",
+ "Sylvia",
+ "Josephine",
+ "Thelma",
+ "Shannon",
+ "Sheila",
+ "Ethel",
+ "Ellen",
+ "Elaine",
+ "Marjorie",
+ "Carrie",
+ "Charlotte",
+ "Monica",
+ "Esther",
+ "Pauline",
+ "Emma",
+ "Juanita",
+ "Anita",
+ "Rhonda",
+ "Hazel",
+ "Amber",
+ "Eva",
+ "Debbie",
+ "April",
+ "Leslie",
+ "Clara",
+ "Lucille",
+ "Jamie",
+ "Joanne",
+ "Eleanor",
+ "Valerie",
+ "Danielle",
+ "Megan",
+ "Alicia",
+ "Suzanne",
+ "Michele",
+ "Gail",
+ "Bertha",
+ "Darlene",
+ "Veronica",
+ "Jill",
+ "Erin",
+ "Geraldine",
+ "Lauren",
+ "Cathy",
+ "Joann",
+ "Lorraine",
+ "Lynn",
+ "Sally",
+ "Regina",
+ "Erica",
+ "Beatrice",
+ "Dolores",
+ "Bernice",
+ "Audrey",
+ "Yvonne",
+ "Annette",
+ "June",
+ "Samantha",
+ "Marion",
+ "Dana",
+ "Stacy",
+ "Ana",
+ "Renee",
+ "Ida",
+ "Vivian",
+ "Roberta",
+ "Holly",
+ "Brittany",
+ "Melanie",
+ "Loretta",
+ "Yolanda",
+ "Jeanette",
+ "Laurie",
+ "Katie",
+ "Kristen",
+ "Vanessa",
+ "Alma",
+ "Sue",
+ "Elsie",
+ "Beth",
+ "Jeanne",
+ "Vicki",
+ "Carla",
+ "Tara",
+ "Rosemary",
+ "Eileen",
+ "Terri",
+ "Gertrude",
+ "Lucy",
+ "Tonya",
+ "Ella",
+ "Stacey",
+ "Wilma",
+ "Gina",
+ "Kristin",
+ "Jessie",
+ "Natalie",
+ "Agnes",
+ "Vera",
+ "Willie",
+ "Charlene",
+ "Bessie",
+ "Delores",
+ "Melinda",
+ "Pearl",
+ "Arlene",
+ "Maureen",
+ "Colleen",
+ "Allison",
+ "Tamara",
+ "Joy",
+ "Georgia",
+ "Constance",
+ "Lillie",
+ "Claudia",
+ "Jackie",
+ "Marcia",
+ "Tanya",
+ "Nellie",
+ "Minnie",
+ "Marlene",
+ "Heidi",
+ "Glenda",
+ "Lydia",
+ "Viola",
+ "Courtney",
+ "Marian",
+ "Stella",
+ "Caroline",
+ "Dora",
+ "Jo",
+ "Vickie",
+ "Mattie",
+ "Terry",
+ "Maxine",
+ "Irma",
+ "Mabel",
+ "Marsha",
+ "Myrtle",
+ "Lena",
+ "Christy",
+ "Deanna",
+ "Patsy",
+ "Hilda",
+ "Gwendolyn",
+ "Jennie",
+ "Nora",
+ "Margie",
+ "Nina",
+ "Cassandra",
+ "Leah",
+ "Penny",
+ "Kay",
+ "Priscilla",
+ "Naomi",
+ "Carole",
+ "Brandy",
+ "Olga",
+ "Billie",
+ "Dianne",
+ "Tracey",
+ "Leona",
+ "Jenny",
+ "Felicia",
+ "Sonia",
+ "Miriam",
+ "Velma",
+ "Becky",
+ "Bobbie",
+ "Violet",
+ "Kristina",
+ "Toni",
+ "Misty",
+ "Mae",
+ "Shelly",
+ "Daisy",
+ "Ramona",
+ "Sherri",
+ "Erika",
+ "Katrina",
+ "Claire",
+ "Lindsey",
+ "Lindsay",
+ "Geneva",
+ "Guadalupe",
+ "Belinda",
+ "Margarita",
+ "Sheryl",
+ "Cora",
+ "Faye",
+ "Ada",
+ "Natasha",
+ "Sabrina",
+ "Isabel",
+ "Marguerite",
+ "Hattie",
+ "Harriet",
+ "Molly",
+ "Cecilia",
+ "Kristi",
+ "Brandi",
+ "Blanche",
+ "Sandy",
+ "Rosie",
+ "Joanna",
+ "Iris",
+ "Eunice",
+ "Angie",
+ "Inez",
+ "Lynda",
+ "Madeline",
+ "Amelia",
+ "Alberta",
+ "Genevieve",
+ "Monique",
+ "Jodi",
+ "Janie",
+ "Maggie",
+ "Kayla",
+ "Sonya",
+ "Jan",
+ "Lee",
+ "Kristine",
+ "Candace",
+ "Fannie",
+ "Maryann",
+ "Opal",
+ "Alison",
+ "Yvette",
+ "Melody",
+ "Luz",
+ "Susie",
+ "Olivia",
+ "Flora",
+ "Shelley",
+ "Kristy",
+ "Mamie",
+ "Lula",
+ "Lola",
+ "Verna",
+ "Beulah",
+ "Antoinette",
+ "Candice",
+ "Juana",
+ "Jeannette",
+ "Pam",
+ "Kelli",
+ "Hannah",
+ "Whitney",
+ "Bridget",
+ "Karla",
+ "Celia",
+ "Latoya",
+ "Patty",
+ "Shelia",
+ "Gayle",
+ "Della",
+ "Vicky",
+ "Lynne",
+ "Sheri",
+ "Marianne",
+ "Kara",
+ "Jacquelyn",
+ "Erma",
+ "Blanca",
+ "Myra",
+ "Leticia",
+ "Pat",
+ "Krista",
+ "Roxanne",
+ "Angelica",
+ "Johnnie",
+ "Robyn",
+ "Francis",
+ "Adrienne",
+ "Rosalie",
+ "Alexandra",
+ "Brooke",
+ "Bethany",
+ "Sadie",
+ "Bernadette",
+ "Traci",
+ "Jody",
+ "Kendra",
+ "Jasmine",
+ "Nichole",
+ "Rachael",
+ "Chelsea",
+ "Mable",
+ "Ernestine",
+ "Muriel",
+ "Marcella",
+ "Elena",
+ "Krystal",
+ "Angelina",
+ "Nadine",
+ "Kari",
+ "Estelle",
+ "Dianna",
+ "Paulette",
+ "Lora",
+ "Mona",
+ "Doreen",
+ "Rosemarie",
+ "Angel",
+ "Desiree",
+ "Antonia",
+ "Hope",
+ "Ginger",
+ "Janis",
+ "Betsy",
+ "Christie",
+ "Freda",
+ "Mercedes",
+ "Meredith",
+ "Lynette",
+ "Teri",
+ "Cristina",
+ "Eula",
+ "Leigh",
+ "Meghan",
+ "Sophia",
+ "Eloise",
+ "Rochelle",
+ "Gretchen",
+ "Cecelia",
+ "Raquel",
+ "Henrietta",
+ "Alyssa",
+ "Jana",
+ "Kelley",
+ "Gwen",
+ "Kerry",
+ "Jenna",
+ "Tricia",
+ "Laverne",
+ "Olive",
+ "Alexis",
+ "Tasha",
+ "Silvia",
+ "Elvira",
+ "Casey",
+ "Delia",
+ "Sophie",
+ "Kate",
+ "Patti",
+ "Lorena",
+ "Kellie",
+ "Sonja",
+ "Lila",
+ "Lana",
+ "Darla",
+ "May",
+ "Mindy",
+ "Essie",
+ "Mandy",
+ "Lorene",
+ "Elsa",
+ "Josefina",
+ "Jeannie",
+ "Miranda",
+ "Dixie",
+ "Lucia",
+ "Marta",
+ "Faith",
+ "Lela",
+ "Johanna",
+ "Shari",
+ "Camille",
+ "Tami",
+ "Shawna",
+ "Elisa",
+ "Ebony",
+ "Melba",
+ "Ora",
+ "Nettie",
+ "Tabitha",
+ "Ollie",
+ "Jaime",
+ "Winifred",
+ "Kristie"
+ ]; \ No newline at end of file
diff --git a/lib/locales/en/name/index.js b/lib/locales/en/name/index.js
index b91aedc7..a945ed68 100644
--- a/lib/locales/en/name/index.js
+++ b/lib/locales/en/name/index.js
@@ -1,5 +1,7 @@
var name = {};
module['exports'] = name;
+name.male_first_name = require("./male_first_name");
+name.female_first_name = require("./female_first_name");
name.first_name = require("./first_name");
name.last_name = require("./last_name");
name.gender = require("./gender");
diff --git a/lib/locales/en/name/male_first_name.js b/lib/locales/en/name/male_first_name.js
new file mode 100644
index 00000000..19c2b490
--- /dev/null
+++ b/lib/locales/en/name/male_first_name.js
@@ -0,0 +1,502 @@
+module["exports"] = [
+ "James",
+ "John",
+ "Robert",
+ "Michael",
+ "William",
+ "David",
+ "Richard",
+ "Charles",
+ "Joseph",
+ "Thomas",
+ "Christopher",
+ "Daniel",
+ "Paul",
+ "Mark",
+ "Donald",
+ "George",
+ "Kenneth",
+ "Steven",
+ "Edward",
+ "Brian",
+ "Ronald",
+ "Anthony",
+ "Kevin",
+ "Jason",
+ "Matthew",
+ "Gary",
+ "Timothy",
+ "Jose",
+ "Larry",
+ "Jeffrey",
+ "Frank",
+ "Scott",
+ "Eric",
+ "Stephen",
+ "Andrew",
+ "Raymond",
+ "Gregory",
+ "Joshua",
+ "Jerry",
+ "Dennis",
+ "Walter",
+ "Patrick",
+ "Peter",
+ "Harold",
+ "Douglas",
+ "Henry",
+ "Carl",
+ "Arthur",
+ "Ryan",
+ "Roger",
+ "Joe",
+ "Juan",
+ "Jack",
+ "Albert",
+ "Jonathan",
+ "Justin",
+ "Terry",
+ "Gerald",
+ "Keith",
+ "Samuel",
+ "Willie",
+ "Ralph",
+ "Lawrence",
+ "Nicholas",
+ "Roy",
+ "Benjamin",
+ "Bruce",
+ "Brandon",
+ "Adam",
+ "Harry",
+ "Fred",
+ "Wayne",
+ "Billy",
+ "Steve",
+ "Louis",
+ "Jeremy",
+ "Aaron",
+ "Randy",
+ "Howard",
+ "Eugene",
+ "Carlos",
+ "Russell",
+ "Bobby",
+ "Victor",
+ "Martin",
+ "Ernest",
+ "Phillip",
+ "Todd",
+ "Jesse",
+ "Craig",
+ "Alan",
+ "Shawn",
+ "Clarence",
+ "Sean",
+ "Philip",
+ "Chris",
+ "Johnny",
+ "Earl",
+ "Jimmy",
+ "Antonio",
+ "Danny",
+ "Bryan",
+ "Tony",
+ "Luis",
+ "Mike",
+ "Stanley",
+ "Leonard",
+ "Nathan",
+ "Dale",
+ "Manuel",
+ "Rodney",
+ "Curtis",
+ "Norman",
+ "Allen",
+ "Marvin",
+ "Vincent",
+ "Glenn",
+ "Jeffery",
+ "Travis",
+ "Jeff",
+ "Chad",
+ "Jacob",
+ "Lee",
+ "Melvin",
+ "Alfred",
+ "Kyle",
+ "Francis",
+ "Bradley",
+ "Jesus",
+ "Herbert",
+ "Frederick",
+ "Ray",
+ "Joel",
+ "Edwin",
+ "Don",
+ "Eddie",
+ "Ricky",
+ "Troy",
+ "Randall",
+ "Barry",
+ "Alexander",
+ "Bernard",
+ "Mario",
+ "Leroy",
+ "Francisco",
+ "Marcus",
+ "Micheal",
+ "Theodore",
+ "Clifford",
+ "Miguel",
+ "Oscar",
+ "Jay",
+ "Jim",
+ "Tom",
+ "Calvin",
+ "Alex",
+ "Jon",
+ "Ronnie",
+ "Bill",
+ "Lloyd",
+ "Tommy",
+ "Leon",
+ "Derek",
+ "Warren",
+ "Darrell",
+ "Jerome",
+ "Floyd",
+ "Leo",
+ "Alvin",
+ "Tim",
+ "Wesley",
+ "Gordon",
+ "Dean",
+ "Greg",
+ "Jorge",
+ "Dustin",
+ "Pedro",
+ "Derrick",
+ "Dan",
+ "Lewis",
+ "Zachary",
+ "Corey",
+ "Herman",
+ "Maurice",
+ "Vernon",
+ "Roberto",
+ "Clyde",
+ "Glen",
+ "Hector",
+ "Shane",
+ "Ricardo",
+ "Sam",
+ "Rick",
+ "Lester",
+ "Brent",
+ "Ramon",
+ "Charlie",
+ "Tyler",
+ "Gilbert",
+ "Gene",
+ "Marc",
+ "Reginald",
+ "Ruben",
+ "Brett",
+ "Angel",
+ "Nathaniel",
+ "Rafael",
+ "Leslie",
+ "Edgar",
+ "Milton",
+ "Raul",
+ "Ben",
+ "Chester",
+ "Cecil",
+ "Duane",
+ "Franklin",
+ "Andre",
+ "Elmer",
+ "Brad",
+ "Gabriel",
+ "Ron",
+ "Mitchell",
+ "Roland",
+ "Arnold",
+ "Harvey",
+ "Jared",
+ "Adrian",
+ "Karl",
+ "Cory",
+ "Claude",
+ "Erik",
+ "Darryl",
+ "Jamie",
+ "Neil",
+ "Jessie",
+ "Christian",
+ "Javier",
+ "Fernando",
+ "Clinton",
+ "Ted",
+ "Mathew",
+ "Tyrone",
+ "Darren",
+ "Lonnie",
+ "Lance",
+ "Cody",
+ "Julio",
+ "Kelly",
+ "Kurt",
+ "Allan",
+ "Nelson",
+ "Guy",
+ "Clayton",
+ "Hugh",
+ "Max",
+ "Dwayne",
+ "Dwight",
+ "Armando",
+ "Felix",
+ "Jimmie",
+ "Everett",
+ "Jordan",
+ "Ian",
+ "Wallace",
+ "Ken",
+ "Bob",
+ "Jaime",
+ "Casey",
+ "Alfredo",
+ "Alberto",
+ "Dave",
+ "Ivan",
+ "Johnnie",
+ "Sidney",
+ "Byron",
+ "Julian",
+ "Isaac",
+ "Morris",
+ "Clifton",
+ "Willard",
+ "Daryl",
+ "Ross",
+ "Virgil",
+ "Andy",
+ "Marshall",
+ "Salvador",
+ "Perry",
+ "Kirk",
+ "Sergio",
+ "Marion",
+ "Tracy",
+ "Seth",
+ "Kent",
+ "Terrance",
+ "Rene",
+ "Eduardo",
+ "Terrence",
+ "Enrique",
+ "Freddie",
+ "Wade",
+ "Austin",
+ "Stuart",
+ "Fredrick",
+ "Arturo",
+ "Alejandro",
+ "Jackie",
+ "Joey",
+ "Nick",
+ "Luther",
+ "Wendell",
+ "Jeremiah",
+ "Evan",
+ "Julius",
+ "Dana",
+ "Donnie",
+ "Otis",
+ "Shannon",
+ "Trevor",
+ "Oliver",
+ "Luke",
+ "Homer",
+ "Gerard",
+ "Doug",
+ "Kenny",
+ "Hubert",
+ "Angelo",
+ "Shaun",
+ "Lyle",
+ "Matt",
+ "Lynn",
+ "Alfonso",
+ "Orlando",
+ "Rex",
+ "Carlton",
+ "Ernesto",
+ "Cameron",
+ "Neal",
+ "Pablo",
+ "Lorenzo",
+ "Omar",
+ "Wilbur",
+ "Blake",
+ "Grant",
+ "Horace",
+ "Roderick",
+ "Kerry",
+ "Abraham",
+ "Willis",
+ "Rickey",
+ "Jean",
+ "Ira",
+ "Andres",
+ "Cesar",
+ "Johnathan",
+ "Malcolm",
+ "Rudolph",
+ "Damon",
+ "Kelvin",
+ "Rudy",
+ "Preston",
+ "Alton",
+ "Archie",
+ "Marco",
+ "Wm",
+ "Pete",
+ "Randolph",
+ "Garry",
+ "Geoffrey",
+ "Jonathon",
+ "Felipe",
+ "Bennie",
+ "Gerardo",
+ "Ed",
+ "Dominic",
+ "Robin",
+ "Loren",
+ "Delbert",
+ "Colin",
+ "Guillermo",
+ "Earnest",
+ "Lucas",
+ "Benny",
+ "Noel",
+ "Spencer",
+ "Rodolfo",
+ "Myron",
+ "Edmund",
+ "Garrett",
+ "Salvatore",
+ "Cedric",
+ "Lowell",
+ "Gregg",
+ "Sherman",
+ "Wilson",
+ "Devin",
+ "Sylvester",
+ "Kim",
+ "Roosevelt",
+ "Israel",
+ "Jermaine",
+ "Forrest",
+ "Wilbert",
+ "Leland",
+ "Simon",
+ "Guadalupe",
+ "Clark",
+ "Irving",
+ "Carroll",
+ "Bryant",
+ "Owen",
+ "Rufus",
+ "Woodrow",
+ "Sammy",
+ "Kristopher",
+ "Mack",
+ "Levi",
+ "Marcos",
+ "Gustavo",
+ "Jake",
+ "Lionel",
+ "Marty",
+ "Taylor",
+ "Ellis",
+ "Dallas",
+ "Gilberto",
+ "Clint",
+ "Nicolas",
+ "Laurence",
+ "Ismael",
+ "Orville",
+ "Drew",
+ "Jody",
+ "Ervin",
+ "Dewey",
+ "Al",
+ "Wilfred",
+ "Josh",
+ "Hugo",
+ "Ignacio",
+ "Caleb",
+ "Tomas",
+ "Sheldon",
+ "Erick",
+ "Frankie",
+ "Stewart",
+ "Doyle",
+ "Darrel",
+ "Rogelio",
+ "Terence",
+ "Santiago",
+ "Alonzo",
+ "Elias",
+ "Bert",
+ "Elbert",
+ "Ramiro",
+ "Conrad",
+ "Pat",
+ "Noah",
+ "Grady",
+ "Phil",
+ "Cornelius",
+ "Lamar",
+ "Rolando",
+ "Clay",
+ "Percy",
+ "Dexter",
+ "Bradford",
+ "Merle",
+ "Darin",
+ "Amos",
+ "Terrell",
+ "Moses",
+ "Irvin",
+ "Saul",
+ "Roman",
+ "Darnell",
+ "Randal",
+ "Tommie",
+ "Timmy",
+ "Darrin",
+ "Winston",
+ "Brendan",
+ "Toby",
+ "Van",
+ "Abel",
+ "Dominick",
+ "Boyd",
+ "Courtney",
+ "Jan",
+ "Emilio",
+ "Elijah",
+ "Cary",
+ "Domingo",
+ "Santos",
+ "Aubrey",
+ "Emmett",
+ "Marlon",
+ "Emanuel",
+ "Jerald",
+ "Edmond"
+ ]; \ No newline at end of file
diff --git a/lib/locales/en/name/name.js b/lib/locales/en/name/name.js
index dd4c0a65..4d7f698d 100644
--- a/lib/locales/en/name/name.js
+++ b/lib/locales/en/name/name.js
@@ -3,6 +3,6 @@ module["exports"] = [
"#{first_name} #{last_name} #{suffix}",
"#{first_name} #{last_name}",
"#{first_name} #{last_name}",
- "#{first_name} #{last_name}",
- "#{first_name} #{last_name}"
+ "#{male_first_name} #{last_name}",
+ "#{female_first_name} #{last_name}"
];
diff --git a/lib/name.js b/lib/name.js
index 1d2bf5e6..49b54614 100644
--- a/lib/name.js
+++ b/lib/name.js
@@ -16,12 +16,18 @@ function Name (faker) {
// some locale datasets ( like ru ) have first_name split by gender. since the name.first_name field does not exist in these datasets,
// we must randomly pick a name from either gender array so faker.name.firstName will return the correct locale data ( and not fallback )
if (typeof gender !== 'number') {
- gender = faker.random.number(1);
+ if(typeof faker.definitions.name.first_name === "undefined") {
+ gender = faker.random.number(1);
+ }
+ else {
+ //Fall back to non-gendered names if they exist and gender wasn't specified
+ return faker.random.arrayElement(faker.definitions.name.first_name);
+ }
}
if (gender === 0) {
- return faker.random.arrayElement(faker.locales[faker.locale].name.male_first_name)
+ return faker.random.arrayElement(faker.definitions.name.male_first_name)
} else {
- return faker.random.arrayElement(faker.locales[faker.locale].name.female_first_name);
+ return faker.random.arrayElement(faker.definitions.name.female_first_name);
}
}
return faker.random.arrayElement(faker.definitions.name.first_name);