name
firstName​
Description​
Method that generate a random localized first name. Some locales has specific first name for male and female
Parameters​
Name | Type | Description |
---|---|---|
gender | <Number> | Defines gendered names by 0 male and 1 female. Default value is random |
Returns​
- <String>
Usage​
Without passing parameters
- code
console.log(pure.name.firstName());
- result
'Elliott'
Describing that i want an first name for a female
- code
console.log(pure.name.firstName(1));
- result
'Tracy'
lastName​
Description​
Method that generate a random localized last name. Some locales (Like Russian one) has specific last name for male and female
Parameters​
Name | Type | Description |
---|---|---|
gender | <Number> | Defines gendered names by 0 male and 1 female. Default value is random |
Returns​
- <String>
Usage​
Without passing parameters
- code
console.log(pure.name.lastName());
- result
'Schaden'
Describing that i want an last name for a female
- code
console.log(pure.name.lastName(1));
- result
'Moore'
findName​
Description​
Method that generate a random localized complete name
Parameters​
Name | Type | Description |
---|---|---|
gender | <Number> | Defines gendered names by 0 male and 1 female. Default value is random |
Returns​
- <String>
Usage​
Without passing parameters
- code
console.log(pure.name.findName());
- result
'Forrest Wintheiser'
Describing that i want an complete name for a female
- code
console.log(pure.name.findName(1));
- result
'Lindsay Williamson'
jobTitle​
Description​
Method that generate random job title
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.name.jobTitle());
- result
'Corporate Communications Specialist'
gender​
Description​
Method that generate random gender
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.name.gender());
- result
'Androgynes'
prefix​
Description​
Method that generate random prefix
Parameters​
Name | Type | Description |
---|---|---|
gender | <Number> | Defines gendered names by 0 male and 1 female. Default value is random |
Returns​
- <String>
Usage​
Without passing parameters
- code
console.log(pure.name.prefix());
- result
'Mr.'
Describing that i want an prefix for a female
- code
console.log(pure.name.prefix(1));
- result
'Miss'
suffix​
Description​
Method that generate random suffix
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.name.suffix());
- result
'Jr.'
title​
Description​
Method that generate random title
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.name.title());
- result
'Legacy Security Consultant'
jobDescriptor​
Description​
Method that generate random job descriptor
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.name.jobDescriptor());
- result
'Future'
jobArea​
Description​
Method that generate random job area
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.name.jobArea());
- result
'Directives'
jobType​
Description​
Method that generate random job type
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.name.jobType());
- result
'Supervisor'