Faker.js - generate massive amounts of fake data in Node.js and the browser(github.com)
github.com
Faker.js - generate massive amounts of fake data in Node.js and the browser
http://github.com/marak/Faker.js/
5 comments
Seems a little weird as most addresses were in the UK, but had zip codes, large house numbers and non UK phone numbers.
Needs a bit more filtering based on locale.
Needs a bit more filtering based on locale.
This reminds me of http://www.fakenamegenerator.com/
Do you guys know a java library that would do the same thing ?
online demo in case you missed it on the github readme
http://maraksquires.com/Faker.js/
http://maraksquires.com/Faker.js/
I tried to generate a "massive" amount of data, but I hit the script CPU usage warning pretty quickly :). Have you tried using Web Workers or perhaps timer-chunking your data generation loop?
If you are generating large sets of data you are better off calling the script from node. Also, if you are using the browser demo it's gonna try to append all that info to the DOM.....
I put this together in less then two days, there is a vast amount of room for improvement in this library. I'd be happy to see a web workers fork and streaming async version in node.
I put this together in less then two days, there is a vast amount of room for improvement in this library. I'd be happy to see a web workers fork and streaming async version in node.
http://re-factor.blogspot.com/2010/05/creating-fake-data.htm...