{"id":49873869,"url":"https://github.com/deanalvero/jsx-parser","last_synced_at":"2026-05-15T11:37:40.626Z","repository":{"id":319710745,"uuid":"1078591510","full_name":"deanalvero/jsx-parser","owner":"deanalvero","description":"A Kotlin Multiplatform library for parsing JSX syntax into a type-safe Abstract Syntax Tree (AST). It is available for iOS, Android, Desktop, and Web.","archived":false,"fork":false,"pushed_at":"2026-03-21T18:36:35.000Z","size":217,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-22T07:44:26.612Z","etag":null,"topics":["jsx","jsx-parser","kmp","kmp-library","kotlin","kotlin-library","kotlin-multiplatform","kotlin-native"],"latest_commit_sha":null,"homepage":"https://deanalvero.github.io/jsx-parser/","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deanalvero.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-18T02:15:10.000Z","updated_at":"2026-03-21T18:38:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"f7d0bee0-9ef5-4fb8-a857-e448107254f7","html_url":"https://github.com/deanalvero/jsx-parser","commit_stats":null,"previous_names":["deanalvero/jsx-parser"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deanalvero/jsx-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanalvero%2Fjsx-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanalvero%2Fjsx-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanalvero%2Fjsx-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanalvero%2Fjsx-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deanalvero","download_url":"https://codeload.github.com/deanalvero/jsx-parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deanalvero%2Fjsx-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33065719,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["jsx","jsx-parser","kmp","kmp-library","kotlin","kotlin-library","kotlin-multiplatform","kotlin-native"],"created_at":"2026-05-15T11:37:39.994Z","updated_at":"2026-05-15T11:37:40.621Z","avatar_url":"https://github.com/deanalvero.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSX Parser for Kotlin\n\nA lightweight, zero-dependency, pure Kotlin Multiplatform library for parsing JSX syntax into a type-safe Abstract Syntax Tree (AST).\n\nThis parser is written 100% in `commonMain` and works on all Kotlin targets (JVM, JS, Native, Wasm).\n\nTry out the WASM build of the sample app at https://deanalvero.github.io/jsx-parser/.\n\n## Dependency\nAdd the dependency to your build.gradle. Replace version with what is available [here](https://central.sonatype.com/artifact/io.github.deanalvero/jsx-parser/versions).\n```\nimplementation(\"io.github.deanalvero:jsx-parser:\u003cversion\u003e\")\n```\n\n## Usage\n```\nimport io.github.deanalvero.parser.jsx.JsxParser\n\nfun main() {\n    val source = \"\"\"\n        \u003cdiv className=\"container\"\u003e\n            \u003ch1\u003eHello, World!\u003c/h1\u003e\n            \u003cp\u003e{message}\u003c/p\u003e\n        \u003c/div\u003e\n    \"\"\".trimIndent()\n\n    val result = JsxParser.parse(source)\n    result.onSuccess { nodes -\u003e\n        println(\"Parsed AST: $nodes\")\n    }.onFailure { error -\u003e\n        println(\"Parse error: ${error.message}\")\n    }\n}\n```\n\n## Notes\nEnjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeanalvero%2Fjsx-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeanalvero%2Fjsx-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeanalvero%2Fjsx-parser/lists"}