faking

1.0.5 • Public • Published

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"}
 

Package Sidebar

Install

npm i faking

Weekly Downloads

3

Version

1.0.5

License

MIT

Last publish

Collaborators

  • marsanla