Skip to main content

User

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...

randRole

Generate a random user role

import { randRole } from '@ngneat/falso';

randRole()
randRole({ length: 10 })
Live Editor
Result
Loading...

randUser

Generate a random user.

import { randUser } from '@ngneat/falso';

randUser()
randUser({ length: 10 })
Live Editor
Result
Loading...