#Person
#aadhar
Aadhar (English: Foundation) is a 12-digit unique identity number that can be obtained by residents of India, based on their biometric and demographic data.
Generate a random aadhar.
Optionally provide option of getting only the last four
Optionally specify dashes be removed
#age
Generate a random age
Default range is between 1 and 120
Optionally specify one of a handful of enumerated age types:
Allowed types are: child
, teen
, adult
, senior
#birthday
Generate a random birthday
By default, returns an actual JavaScript Date object.
Optionally specify it be returned as a string.
By default returns in MM/DD/YYYY format. Can specify DD/MM/YYYY as follows:
For more complex date formats, use the Moment library.
Can specify the type, same types as with age.
You can compose with {{year
for interesting combinations. For example, let's say we want to get the birthdays of some renaissance artists (born between 1450 and 1500). We can generate a year and then get a birthday from that year:
Can specify maxAge and/or minAge. This will return a date which yields to an age between the given range. Attention on limits: the full day of birthdays are considered to be part of the allowed range (from the first millisecond of the minimum date to the last second of the maximum date).
#cf
Generate a random Italian social security number (Codice Fiscale).
Optionally specify any or all components: first name, last name, gender, birth date, place of birth (using ISTAT geocodes for Italian cities).
#cpf
Generate a random Brazilian tax id.
Optionally omit punctuation:
#first
Generate a random first name
Optionally specify a gender to limit first names to that gender
Optionally specify a nationality to limit first names to those most common of that nationality
Note, currently support for nationality is limited to: 'en', 'it', 'nl', 'fr'
.
#gender
Generate a random gender
Extra genders can be provided using the extraGenders
key in the optional options argument:
#last
Generate a random last name
Optionally specify a nationality to limit first names to those most common of that nationality
Note, currently support for nationality is limited to: 'en', 'it', 'nl', 'uk', 'de', 'jp', 'es', 'fr'
.
#name
Generate a random name
Optionally include the middle name
Optionally include the middle initial
Optionally include the prefix
Optionally include the suffix
Optionally specify a gender
Optionally specify a nationality
Note, currently support for nationality is limited to: 'en', 'it'
.
#prefix
Generate a random name prefix
By default, returns the shorter version.
Optionally get back the full version.
Optionally specify a gender. Valid options are male
, female
, or all
(the default).
To maintain legacy support, this also responds to {{name_prefix()}}.
#ssn
Generate a random social security number.
Optionally provide option of getting only the last four
Optionally specify dashes be removed
#suffix
Generate a random name suffix
By default, returns the shorter version.
Optionally get back the full version.
To maintain legacy support, this also responds to {{name_suffix()}}.
#zodiac
Generate a random zodiac signs.