Skip to main content

Address

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

randCardinalDirection

Generate a random cardinal direction.

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

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

randCity

Generate a random city.

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

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

randCountry

Generate a random country.

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

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

randCountryCode

Generate a random country code.

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

randCountryCode() // US
randCountryCode({ alpha3 : true }) // KRW
randCountryCode({ length: 10 })
Live Editor
Result
Loading...

randCounty

Generate a random county.

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

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

randDirection

Generate a random direction.

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

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

randFullAddress

Generate a random full address.

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

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

randLatitude

Generate a random latitude.

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

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

randLocale

Generate a random locale.

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

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

randLongitude

Generate a random longitude.

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

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

randNearbyGPSCoordinate

Generate a random GPS coordinate.

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

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

randOrdinalDirection

Generate a random ordinal direction.

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

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

randState

Generate a random state.

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

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

randStateAbbr

Generate a random state abbr.

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

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

randStreetAddress

Generate a random street address.

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

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

randStreetName

Generate a random street name.

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

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

randTimeZone

Generate a random time zone.

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

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

randZipCode

Generate a random zip code.

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

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