using var randomCard = Faker.Helpers.createCard();, I get
{ name: 'Idell Raynor IV',
username: 'Domenica',
email: '[email protected]',
...
Since all generated data is taken from a pool of parts, wouldn't it be nice to have moderately coherent data, like '[email protected]' for Idell Raynor ?
more information.
Yeah, would be great to have some simple way of getting an email based on the name. Maybe this could even be an additional parameter to the email function.
@Offirmo -
I agree.
Adding a coherency / seed to generate believable contact cards is great feature.
If you can provide any code or algorithm to implement this change I will gladly review and help merge into faker. I currently don't have any ideas for a working solution.
@Offirmo -
I have added the ability to pass in arguments to faker.internet.userName, faker.internet.email, and faker.name.findName.
This grants basic ability for contextual user data. More improvements could be made for address / location.
Leaving open for now.
Would also be good if
Closing for inactivity
male/female would be really nice for coherency.
Most helpful comment
Would also be good if