createfakedata - Create Fake Data

Creates realistic fake data for testing and development. Examples: address, date, lorem ipsum, commercial products, company, image, random numbers, URLs and many more).
The function createfakedata is a function that generates realistic fake data for testing and development. It requires an array of objects with a module and function name to generate the desired type of data. It can generate a variety of types of data, including addresses, dates, commercial products, company names, images, random numbers, and URLs, among others. It also has an optional rows parameter to specify the number of rows of random data to generate, and a locale parameter to specify the localization for the data, which defaults to 'en'.

FakerJs is the library used for generating the fake data, and you can find its homepage here: https://github.com/marak/Faker.js/.

data
Type
array<object>
Required
required
Array of objects with module and function.
Minimum: 1
Example:
[
  {
    "module": "address",
    "function": "city"
  },
  {
    "module": "date",
    "function": "month"
  },
  {
    "module": "finance",
    "function": "accountName"
  }
]
module
Type
string
Required
required
Name of the module.
Possible values are: address, animal, color, commerce, company, database, datatype, date, finance, git, hacker, helpers, image, internet, lorem, mersenne, music, name, phone, random, science, system, vehicle, word
Example:
address
function
Type
string
Required
required
Name of the function.
Example:
city
rows
Type
number
The rows of random data to generate. Defaults to 1.
Maximum: 250
Example:
2
locale
Type
string
Localization for data. Defaults to 'en'.
Possible values are: af_ZA, ar, az, cz, de, de_AT, de_CH, el, en, en_AU, en_AU_ocker, en_BORK, en_CA, en_GB, en_GH, en_IE, en_IND, en_NG, en_US, en_ZA, es, es_MX, fa, fi, fr, fr_BE, fr_CA, fr_CH, ge, he, hr, hu, hy, id_ID, it, ja, ko, lv, mk, nb_NO, ne, nl, nl_BE, pl, pt_BR, pt_PT, ro, ru, sk, sv, tr, uk, ur, vi, zh_CN, zh_TW, zu_ZA
Example:
en

Available on

Postman
Make
Zapier
N8N
Airtable
SeaTable
Bubble
Power Automate
Workato
SAP Build