fony
fony copied to clipboard
A simple command line tool for generating fake data from a template string
This allows usage of ES6 Object Initializer Shorthand Syntax in the template. (JSON should continue working) Examples: fony -t '{ name, age, address }' will expand the template to {...
Not a Node.js guru here, but after I installed I expected this to work out of the box. ``` $ sudo npm install --global fony /usr/local/bin/fony -> /usr/local/lib/node_modules/fony/src/index.js /usr/local/lib └──...
The library chance.js supports passing parameters to certain types as documented in http://chancejs.com/. For instance, it's possible to ask for an integer between say 1 and 100. Is it possible...
It would be cool if we could use ES6 shorthand object syntax instead of pure JSON for the template string. Example: `fony -t '{ name, age, address }'` should expand...
Hi @captainsafia , your tool is really easy to use, thanks for that. May I suggest to add a simple command example to the documentation to write the JSON content...