Skip to main content
Version: 9.0.0

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()