faker_x 0.4.5 faker_x: ^0.4.5 copied to clipboard
BEST faker package available for dart that generates fake data you need.
faker_x
No Docs yet: Basically this is a library to generate fake data for dart language with ease. The main reason I'm creating this library is to create a library that is very easy/fast to contribute when it comes to
- add a new language support
- add specific fake data providers for only certain locales without decreasing the maintainability of the project
- make fake data generation specific for each locale. ( eg addresses that are generated for en_US can be in different format from addresses that are generated for fa_IR, not necessarily but that feature should exist).
notes for later to be used in docs : should run regenerate_base_classes when added a new datasoure file.
make read me nice look at https://www.npmjs.com/package/@faker-js/faker
remeber one of the most important thing about this library is that if a developer wants to add like a new fake value to a his/her locale it will be easy. since we support localized custom fake values.
Add contribution guide to add a new fake value (datasource) to a locale or all locales
add fancy tags to readme
Fake value generators marked in [black] are available for all locales and generate the value differently according to that locale. Fake value generators marked in [green] are globally shared between different locales and generate values using same methods for all locales. Fake value generator marked in [blue] are the ones that are only available for that locale
fa_ir | phone(2) | phone number | international phone number |
---|---|---|
address(10) | building name | street suffix | state | address | city name | postcode | building number | street name | alley | street prefix | |
job(3) | job suffix | job title | job prefix | |
person(7) | last name en | first name en | first name male | full name | first name female | last name | first name | |
automotive(1) | license plate | |
color(2) | color hex | color name | |
lorem(2) | sentence | word | |
animal(1) | animal name | |
vehicle(1) | car | |
internet(18) | http url | email | https url | password | safe email | ipv4 | domain suffixes | user name | uri | disposable email | mac address | emoji | email from | ipv6 | mail provider | domain name | disposable mail provider | user name from | |
image(2) | image | avatar uri | |
location(1) | geo location | |
en_us | phone(2) | phone number | international phone number |
address(14) | state abbr | state | address | city name | neighborhood | building number | city suffix | street suffix | street address | postcode | street name | postcode format | city prefix | secondary address | |
job(3) | job suffix | job title | job prefix | |
person(7) | last name en | first name en | first name male | full name | first name female | last name | first name | |
automotive(1) | license plate | |
color(2) | color hex | color name | |
lorem(2) | sentence | word | |
animal(1) | animal name | |
vehicle(1) | car | |
internet(18) | http url | email | https url | password | safe email | ipv4 | domain suffixes | user name | uri | disposable email | mac address | emoji | email from | ipv6 | mail provider | domain name | disposable mail provider | user name from | |
image(2) | image | avatar uri | |
location(1) | geo location |
Tables | Are | Cool |
---|---|---|
col 1 is | left-aligned | $1600 |
col 2 is | centered | $12 |
col 3 is | right-aligned | $1 |