Skip to main content
Version: 7.5.5

Fake

fake

Method allowing to generate fake data.

ParameterTypeDescription
optionsDataFakerOptionsMethod options.

DataFakerOptions

ParameterTypeDescription
localstring
seednumber

returns

DataFaker

DataFaker

Link to Faker documentation

FunctionReturn typeDescription
seedvoid
addressaddress
animalanimal
commercecommerce
companycompany
databasedatabase
datatypedatatype
financefinance
gitgit
hackerhacker
helpershelpers
imageimage
internetinternet
loremlorem
namename
musicmusic
phonephone
randomrandom
systemsystem
timetime

Basic Usage

await I.fake({local: 'zh_CN', seed: 123456}).animal().cat()