{"id":19223674,"url":"https://github.com/wmfs/json-schema-markdown-a-tron","last_synced_at":"2025-05-13T10:48:24.126Z","repository":{"id":34042318,"uuid":"165492730","full_name":"wmfs/json-schema-markdown-a-tron","owner":"wmfs","description":"Turn a JSON Schema object into markdown string","archived":false,"fork":false,"pushed_at":"2025-05-01T21:14:01.000Z","size":184,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-01T22:24:20.135Z","etag":null,"topics":["package","tymly"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wmfs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-01-13T10:34:17.000Z","updated_at":"2025-05-01T21:14:04.000Z","dependencies_parsed_at":"2023-09-25T00:41:48.856Z","dependency_job_id":"7de9abc3-1646-4b35-8ac9-0e19f3f0d3a4","html_url":"https://github.com/wmfs/json-schema-markdown-a-tron","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmfs%2Fjson-schema-markdown-a-tron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmfs%2Fjson-schema-markdown-a-tron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmfs%2Fjson-schema-markdown-a-tron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wmfs%2Fjson-schema-markdown-a-tron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wmfs","download_url":"https://codeload.github.com/wmfs/json-schema-markdown-a-tron/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253928252,"owners_count":21985793,"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":["package","tymly"],"created_at":"2024-11-09T15:09:14.645Z","updated_at":"2025-05-13T10:48:24.086Z","avatar_url":"https://github.com/wmfs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# json-schema-markdown-a-tron\n[![CircleCI](https://circleci.com/gh/wmfs/json-schema-markdown-a-tron.svg?style=svg)](https://circleci.com/gh/wmfs/json-schema-markdown-a-tron)\n\u003e Turn a JSON-Schema object into markdown string\n\n# Installation\n\n``` bash\nnpm install @wmfs/json-schema-markdown-a-tron --save\n```\n\n## \u003ca name=\"Usage\"\u003e\u003c/a\u003e Usage\n\n``` javascript\n\nconst getMarkdown = require('@wmfs/json-schema-markdown-a-tron')\n\nconst output = getMarkdown(\n  {\n    \"$id\": \"https://example.com/person.schema.json\",\n    \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n    \"title\": \"Person\",\n    \"type\": \"object\",\n    \"properties\": {\n      \"firstName\": {\n        \"type\": \"string\",\n        \"description\": \"The person's first name.\"\n      },\n      \"lastName\": {\n        \"type\": \"string\",\n        \"description\": \"The person's last name.\"\n      },\n      \"age\": {\n        \"description\": \"Age in years which must be equal to or greater than zero.\",\n        \"type\": \"integer\",\n        \"minimum\": 0\n      }\n    }\n  }\n)\n\n// Results\n// output.markdown = Markdown string.\n// output.title = Schema title, if there is one.\n// output.description = Schema description, if there is one.\n// output.example = Schema example, if there is one.\n\n```\n\n## \u003ca name='license'\u003e\u003c/a\u003eLicense\n[MIT](https://github.com/wmfs/json-schema-markdown-a-tron/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmfs%2Fjson-schema-markdown-a-tron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwmfs%2Fjson-schema-markdown-a-tron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmfs%2Fjson-schema-markdown-a-tron/lists"}