{"id":16901926,"url":"https://github.com/ttys026/json5-editor","last_synced_at":"2026-03-07T12:35:49.421Z","repository":{"id":48873574,"uuid":"348939889","full_name":"ttys026/json5-editor","owner":"ttys026","description":"https://ttys026.github.io/json5-editor/","archived":false,"fork":false,"pushed_at":"2023-04-25T09:18:52.000Z","size":1903,"stargazers_count":27,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T16:39:14.661Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ttys026.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2021-03-18T04:24:11.000Z","updated_at":"2024-07-17T14:57:52.000Z","dependencies_parsed_at":"2024-10-28T16:42:33.230Z","dependency_job_id":"394b7de2-9fd0-44b2-9e6e-b57812685910","html_url":"https://github.com/ttys026/json5-editor","commit_stats":{"total_commits":72,"total_committers":4,"mean_commits":18.0,"dds":"0.16666666666666663","last_synced_commit":"3fe205c841d7b3c9cae511a8b3bc7565afcd1e97"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ttys026/json5-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys026%2Fjson5-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys026%2Fjson5-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys026%2Fjson5-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys026%2Fjson5-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ttys026","download_url":"https://codeload.github.com/ttys026/json5-editor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys026%2Fjson5-editor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30213202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T12:15:00.571Z","status":"ssl_error","status_checked_at":"2026-03-07T12:15:00.217Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-13T18:02:39.393Z","updated_at":"2026-03-07T12:35:49.384Z","avatar_url":"https://github.com/ttys026.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# json5-editor\n\nA lite JSON5 editor with smart autoComplete and zero configuration\n\n[NPM](https://www.npmjs.com/package/json5-editor) | [Github](https://github.com/ttys026/json5-editor) | [Playground](https://ttys026.github.io/json5-editor/json5-editor)\n\n![demo](https://github.com/ttys026/json5-editor/blob/master/demo.gif?raw=true)\n\n### usage\n\n```\nimport { Editor } from 'json5-editor'\n\nexport default () =\u003e {\n  return (\n    \u003cEditor {...props} /\u003e\n  )\n}\n```\n\n### feature\n\n- Syntax highlight\n- Auto formatting \u0026 error correcting\n- Duplicate property name checking\n- Brace matching\n- code ruler\n\n**Not optimized for big JSON, use at your own risk**\n\n\u003e more about how it works and limitations, please refer to https://github.com/satya164/react-simple-code-editor#how-it-works\n\n### API\n\n| prop         | description                                                 | type                | default |\n| ------------ | ----------------------------------------------------------- | ------------------- | ------- |\n| initialValue | default value of textarea                                   | string              | ''      |\n| value        | value in the textarea, required in controlled mode          | string              | -       |\n| onChange     | textarea value change callback, required in controlled mode | (v: string) =\u003e void | -       |\n| placeholder  | placeholder of textarea                                     | string              | ''      |\n| style        | className of textarea and pre tag                           | React.CSSProperties | -       |\n| className    | className of outer container                                | string              | -       |\n| disabled     | whether the editor is disbled                               | boolean             | false   |\n| readOnly     | whether the editor is readonly                              | boolean             | false   |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttys026%2Fjson5-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttys026%2Fjson5-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttys026%2Fjson5-editor/lists"}