Skip to main content

Entities

randAddress

Generate a random address.

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

randAddress()
randAddress({ includeCounty: false }) // default is true
randAddress({ includeCountry: false }) // default is true
randAddress({ length: 10 })
Live Editor
Result
Loading...

randBook

Generate a random book.

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

randBook()
randBook({ length: 10 })
randBook({ category: 'Comedy' })
Live Editor
Result
Loading...

randCreditCard

Generate a random credit card.

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

randCreditCard()
randCreditCard({ fullName: 'Mr Ryan Smee' })
randCreditCard({ brand: 'Visa' })
randCreditCard({ length: 10 })
Live Editor
Result
Loading...

randFlightDetails

Generate a random flight details.

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

randFlightDetails()
randFlightDetails({ passenger: 'Ryan Smee' })
randFlightDetails({ airline: 'RyanAir' })
randFlightDetails({ length: 10 })
Live Editor
Result
Loading...

randPost

Generate a random post.

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

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

randProduct

Generate a random product.

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

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

randSuperhero

Generate a random superhero.

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

randSuperhero()
randSuperhero({ company: 'Marvel' })
randSuperhero({ length: 10 })
Live Editor
Result
Loading...

randTodo

Generate a random todo.

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

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

randUser

Generate a random user.

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

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