Re:Random JSON data generator
by twerquie on Thursday May 01, 2014 @03:57PM
(#7682341)
It would be great if this was published as an npm module.
[ Parent
| on HN ]
Re:Random JSON data generator
by joshstrange on Thursday May 01, 2014 @04:09PM
(#7682424)
I was thinking along the same lines, I've used Faker [0] for PHP before and I would love to be able to have an npm module to generate test JSON like this!
There is an npm module available.
https://github.com/marak/Faker.js/
I also wrote a grunt plugin a while back that makes defining schemas for random data a little easier.
Re:Random JSON data generator
by stolksdorf on Thursday May 01, 2014 @05:21PM
(#7682770)
http://stolksdorf.github.io/JsonGen/ Enjoy.
Eerily similar syntax to submitted one. I could roll this into a npm module rather quickly.
I started working on something like this a few months ago.
https://github.com/akilism/crashtest
it's still a little bit buggy though and not really user friendly. but it gets the job done for me.