Skip to main content

Finance

randAbn

Generate a random abn.

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

randAbn()
randAbn({ length: 10 })
randAbn({ onlyValid: false }) //default is true
Live Editor
Result
Loading...

randAccount

Generate a random account.

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

randAccount()
randAccount({ accountLength: 12 }) // default is 9
randAccount({ length: 10 })
Live Editor
Result
Loading...

randAmount

Generate a random amount.

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

randAmount()
randAmount({ min: 10, max: 20, fraction: 1 }) // 12.5
randAmount({ min: 10, max: 20, fraction: 2 }) // 12.52
randAmount({ symbol: '$' }) // '$12.52'
randAmount({ length: 10 })
Live Editor
Result
Loading...

randBic

Generate a random swift bic code.

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

randBic()
randBic({ bankCode: 'DEUT' }) // bank code of Deutsche Bank
randBic({ countryCode: 'DE' }) // country code with ISO country code
randBic({ locationCode: 'MM' }) // location code for Milan MM for Frankfurt FF and etc
randBic({ branchCode: '250' }) // bank branch code
randBic({ fillBranchCode: true }) // bank branch code filled with XXX
randBic({ length: 10 })
Live Editor
Result
Loading...

randBitcoinAddress

Generate a random bitcoin-address.

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

randBitcoinAddress()
randBitcoinAddress({ length: 10 })
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...

randCreditCardBrand

Generate a random credit card brand.

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

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

randCreditCardCVV

Generate a random credit card CVV.

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

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

randCreditCardNumber

Generate a random credit card number.

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

randCreditCardNumber()
randCreditCardNumber({ brand: 'Visa' })
randCreditCardNumber({ length: 10 })
Live Editor
Result
Loading...

randCurrencyCode

Generate a random currency code.

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

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

randCurrencyName

Generate a random currency name.

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

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

randCurrencySymbol

Generate a random currency symbol.

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

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

randEthereumAddress

Generate a random ethereum address.

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

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

randIban

Generate a random IBAN number.

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

randIban()
randSwift({ countryCode: 'DE' }) // country code with ISO country code
randIban({ length: 10 })
Live Editor
Result
Loading...

randMask

Generate a random mask.

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

randMask()
randMask({ mask: '@#### @##' })
randMask({ length: 10 })
Live Editor
Result
Loading...

randRoutingNumber

Generate a random routing number.

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

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

randSwift

Generate a random swift bic code.

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

randSwift()
randSwift({ bankCode: 'DEUT' }) // bank code of Deutsche Bank
randSwift({ countryCode: 'DE' }) // country code with ISO country code
randSwift({ locationCode: 'MM' }) // location code for Milan MM or for Frankfurt FF and etc
randSwift({ branchCode: '250' }) // bank branch code
randSwift({ fillBranchCode: true }) // bank branch code filled with XXX
randSwift({ length: 10 })
Live Editor
Result
Loading...

randTransactionType

Generate a random transaction type.

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

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