{"id":19882074,"url":"https://github.com/marcosrivasr/json-generator","last_synced_at":"2025-07-20T00:32:16.377Z","repository":{"id":42670069,"uuid":"276772623","full_name":"marcosrivasr/json-generator","owner":"marcosrivasr","description":"Tool for generate random JSON data to test your apps","archived":false,"fork":false,"pushed_at":"2022-12-13T05:33:32.000Z","size":13043,"stargazers_count":7,"open_issues_count":12,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-02T14:37:05.350Z","etag":null,"topics":["api-sample","data-generator","json","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcosrivasr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-03T00:39:48.000Z","updated_at":"2023-06-11T12:55:15.000Z","dependencies_parsed_at":"2023-01-28T07:31:11.181Z","dependency_job_id":null,"html_url":"https://github.com/marcosrivasr/json-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marcosrivasr/json-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcosrivasr%2Fjson-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcosrivasr%2Fjson-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcosrivasr%2Fjson-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcosrivasr%2Fjson-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcosrivasr","download_url":"https://codeload.github.com/marcosrivasr/json-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcosrivasr%2Fjson-generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266048551,"owners_count":23868741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-sample","data-generator","json","typescript"],"created_at":"2024-11-12T17:16:20.542Z","updated_at":"2025-07-20T00:32:16.328Z","avatar_url":"https://github.com/marcosrivasr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSON Generator\n\nJSON Generator is a tool to generate sample data in JSON format for testing purposes. It includes a variety of data types to randomly generate and simple iteration configurations to generate massive amounts of data.\n\n## Installation\n\n```console\n$ npm install -g mrr-json-generator\n``` \n\n## Usage\n\nTo use the utility you need to create a simple JSON template and specify the properties and data types you want\n\n```javascript\n{\n    \"id\": \"uuid\",\n    \"id2\": \"id\",\n    \"id3\": \"id\",\n    \"title\": \"title\",\n    \"text\": \"paragraph\",\n    \"todo\": \"text\",\n    \"name\": \"first-name\",\n    \"city\": \"city\",\n    \"country\": \"country\",\n    \"last-name\": \"last-name\",\n    \"age\": \"age\",\n    \"phone\": \"phone\",\n    \"grade\": \"decimal\",\n    \"price\": \"price\",\n    \"card\": \"credit-card\",\n    \"aniversary\": \"date\",\n    \"color\": \"choice red blue yellow\",\n    \"friends\": [\n        {\"repeat\": 5},\n        {\n            \"id\": \"index\",\n            \"name\": \"first-name\",\n            \"last-name\": \"last-name\",\n            \"company\": \"company\",\n            \"email\": \"email\"\n        }\n    ],\n    \"check-ins\":{\n        \"id\": \"id\",\n        \"name\": \"full-name\",\n        \"opened\": \"date\",\n        \"users\": [\n            {\"repeat\": 5},\n            {\n                \"id\": \"uuid\",\n                \"index\": \"index\",\n                \"married\": \"boolean\"\n            }\n        ]\n    }\n}\n```\n\nand then execute\n\n```console\n$ json -i origin/template.json -o destination/output.json\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcosrivasr%2Fjson-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcosrivasr%2Fjson-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcosrivasr%2Fjson-generator/lists"}