faking
v1.0.5
Published
Generate file with fake data
Downloads
12
Readme
Faker Generator
Install
npm install
Generate file
Run
cd folder/to/save/file
faking -c <count_of_elements> -s <schema_in_json> <file_name>
Schema
Schema is a json base on Casual library:
{"key_name_for_final_json": "type_of_function_from_casual"}
// Example
{"complete_name": "name"}
{"gender": "random_element|[\"male\",\"female\"]"}
{"id": "id"}