Person
randAvatar
Generate a random avatar.
import { randAvatar } from '@ngneat/falso';
randAvatar()
randAvatar({ length: 10 })
randAvatar({ size: 200 }) // default is 100
Live Editor
Result
Loading...
randEmail
Generate a random email.
import { randEmail } from '@ngneat/falso';
randEmail()
randEmail({ length: 10 })
randEmail({ firstName: 'Netanel' })
randEmail({ lastName: 'Basal' })
randEmail({ nameSeparator: '.' })
randEmail({ provider: 'gmail' })
randEmail({ suffix: 'com' })
Live Editor
Result
Loading...
randFirstName
Generate a random first name.
import { randFirstName } from '@ngneat/falso';
randFirstName()
randFirstName({ withAccents: true })
randFirstName({ gender: 'female' }) // Emma
randFirstName({ length: 10 })
Live Editor
Result
Loading...
randFullName
Generate a random full name.
import { randFullName } from '@ngneat/falso';
randFullName()
randFullName({ gender: 'female' }) // Emma Marková
randFullName({ withAccents: false }) // return full name without special symbols like â, î or ô and etc
randFullName({ length: 10 })
Live Editor
Result
Loading...
randGender
Generate a random gender.
import { randGender } from '@ngneat/falso';
randGender()
randGender({ length: 10 })
randGender({ code: true }) // default is false
Live Editor
Result
Loading...
randLanguage
Generate a random language.
import { randLanguage } from '@ngneat/falso';
randLanguage()
randLanguage({ length: 10 })
randLanguage({ code: true }) // default is false
Live Editor
Result
Loading...
randLastName
Generate a random last name.
import { randLastName } from '@ngneat/falso';
randLastName()
randLastName({ withAccents: false })
randLastName({ length: 10 })
Live Editor
Result
Loading...
randPassword
Generate a random password.
import { randPassword } from '@ngneat/falso';
randPassword()
randPassword({ length: 10 })
randPassword({ size: 10 }) // default is 15
Live Editor
Result
Loading...
randPersonTitle
Generate a random person title.
import { randPersonTitle } from '@ngneat/falso';
randPersonTitle()
randPersonTitle({ length: 10 })
Live Editor
Result
Loading...
randPhoneNumber
Generate a random phone number.
import { randPhoneNumber } from '@ngneat/falso';
randPhoneNumber()
randPhoneNumber({ countryCode: 'US' })
randPhoneNumber({ length: 10 })
Live Editor
Result
Loading...
randPronoun
Generate a random pronoun.
import { randPronoun } from '@ngneat/falso';
randPronoun()
Live Editor
Result
Loading...
randSkill
Generate a random skill.
import { randSkill } from '@ngneat/falso';
randSkill()
randSkill({ length: 10 })
Live Editor
Result
Loading...
randUserName
Generate a random user name.
import { randUserName } from '@ngneat/falso';
randUserName()
randUserName({ length: 10 })
randUserName({ firstName: 'Ryan' })
randUserName({ lastName: 'Smee' })
randUserName({ withAccents: false }) // return username without special symbols like â, î or ô and etc
Live Editor
Result
Loading...