Faker.js - generate massive amounts of fake data in the browser and Node.js
1–10 of 23 posts
Re: Faker.js - generate massive amounts of fake data in the browser and Node.js
#2What's the use case for this? To annoy spammers?
Re: Faker.js - generate massive amounts of fake data in the browser and Node.js
#3What's the use case for this? To annoy spammers?
Debug I suppose.
Re: Faker.js - generate massive amounts of fake data in the browser and Node.js
#4Cool. I recently build a similar thing for Magento to provide demo data and for anonymization purposes.
Some parts of faker.js needs sure refactorings ...
Re: Faker.js - generate massive amounts of fake data in the browser and Node.js
#5This is fantastic. I was actually looking for something like this to test some APIs with dummy data.
Re: Faker.js - generate massive amounts of fake data in the browser and Node.js
#6Very nice library. It would be nice to add the ability to generate random values based on a distribution, e.g. the values are random but correspond to a normal distribution with a given mean and standard deviation. This would be very useful for testing statistical libraries and applications.
Re: Faker.js - generate massive amounts of fake data in the browser and Node.js
#7This is cool.
I'm gently disturbed that it generates valid email addresses. You pick a random name, follow it with an @, then add a random word, and then add a TLD. Obviously you're not responsible for how people use the tool.
Best practice would be to use the domain example.com
Re: Faker.js - generate massive amounts of fake data in the browser and Node.js
#8Very nice library. It would be nice to add the ability to generate random values based on a distribution, e.g. the values are random but correspond to a normal distribution with a given mean and standard deviation. This would be very useful for testing statistical libraries and applications.
Which attributes would you sample from a normal distribution here? I don't see any numerical attributes where this would make sense. One could add weight, height, age etc. and sample from the relevant geographical/gender distributions?
Re: Faker.js - generate massive amounts of fake data in the browser and Node.js
#9What's the use case for this? To annoy spammers?
I built something like this for an internal CMS framework and it really speed up prototyping pages - especially large list pages.
Re: Faker.js - generate massive amounts of fake data in the browser and Node.js
#10What's the use case for this? To annoy spammers?
Coming up with random words and examples when writing tests is surprisingly tedious.