# name

# firstName([gender])

Generates random first name

TIP

Param Type Default
gender number null

NOTE: If locale dataset supports gender names, passing in 0 will give you male names and any other number will give you female names... I think lol

faker.name.firstName(); // Joshuah

# lastName([gender])

Generates random last name

TIP

Param Type Default
gender number null

NOTE: If locale dataset supports gender names, passing in 0 will give you male names and any other number will give you female names... I think

faker.name.lastName(); // Ortiz

# findName([firstName[, lastName[, gender]]])

Generates random full name with optional random suffix/prefix

TIP

Param Type Default
firstName string faker.name.firstName()
lastName string faker.name.lastName()
gender number 0 or 1

NOTE: If locale dataset supports gender names, passing in 0 will give you male names and any other number will give you female names... I think

faker.name.findName(); // Jamey Thiel
faker.name.findName('Bob'); // Bob Grant III
faker.name.findName('Bob', 'Smith'); // Bob Smith
faker.name.findName(null, 'Smith'); // Miracle Smith

# jobTitle

Generates random job title

faker.name.jobTitle(); // Senior Data Facilitator

# prefix([gender])

Generates random prefix

TIP

Param Type Default
gender number 0 or 1

NOTE: If locale dataset supports gender names, passing in 0 will give you male names and any other number will give you female names... I think

faker.name.prefix(); // Mr.
faker.name.prefix(1); // Ms.

# suffix

Generates random suffix

faker.name.suffix(); // MD

# title

Generates random title

faker.name.title(); // Forward Accountability Executive

# jobDescriptor

Generates random job descriptor

faker.name.jobDescriptor(); // Future

# jobArea

Generates random job area

faker.name.jobArea(); // Factors

# jobType

Generates random job type

faker.name.jobType(); // Coordinator