0.0.6 • Published 6 years ago
@rabbitcc/faker v0.0.6
faker
WIP Available apis:
- basic
boolean()
- number
number({ min, max float })
float({ min, max, fixed })
integer({ min, max })
natural({ min, max })
- string
char()
string({ min, max })
letter({ upcase })
symbol()
- text
char({ upcase })
word({ locale, min, max })
sentence({ locale, min, max })
title({ locale, min, max })
paragraph({ locale, min, max })
password({ locale, min, max })
- date
date({ min, max })
ago({ locale, number })
- person
firstname({ locale })
lastname({ locale, sex, len })
fullname({ firstname, lastname, locale, gender, length })
avatar()
- phone
teloperators()
phone({ operator, country, network, area, user, format })
- location
province()
prefecture({ province, full, format})
country({ province, prefecture, full, format})
address({ province, prefecture, county, street, road, format})
- web
email({ local, domain })