{"id":24868554,"url":"https://github.com/dirk/xstache","last_synced_at":"2025-07-22T01:33:04.291Z","repository":{"id":274722471,"uuid":"919634804","full_name":"dirk/xstache","owner":"dirk","description":"Isomorphic templates for the web","archived":false,"fork":false,"pushed_at":"2025-02-21T19:11:09.000Z","size":95,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-10T13:48:10.029Z","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":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dirk.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":"2025-01-20T18:40:07.000Z","updated_at":"2025-02-21T19:11:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1e24cc3-f066-4cfd-8b6a-8c3e0d272903","html_url":"https://github.com/dirk/xstache","commit_stats":null,"previous_names":["dirk/xstache"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/dirk/xstache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirk%2Fxstache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirk%2Fxstache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirk%2Fxstache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirk%2Fxstache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dirk","download_url":"https://codeload.github.com/dirk/xstache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirk%2Fxstache/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266409568,"owners_count":23924286,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-02-01T02:29:06.847Z","updated_at":"2025-07-22T01:33:04.263Z","avatar_url":"https://github.com/dirk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Xstache\n\nIsomorphic templating for the web. Xstache fuses concepts from JSX and Mustache to create a templating language that can render to both an HTML string and/or to a virtual DOM.\n\n```xml\n\u003cbutton\n    class=`button-primary {#icon}button-icon{/icon} {additionalButtonClasses}`\n    onclick={onclick}\n\u003e\n    {#icon}\n        \u003cspan class=\"margin-right-1\"\u003e\n            {icon}\n        \u003c/span\u003e\n    {/icon}\n    {children}\n\u003c/button\u003e\n```\n\n### Supported Languages\n\n- [x] JavaScript\n    - [ ] Compile to a module or function that renders an HTML string\n    - [x] Compile to a component that renders JSX\n- [ ] PHP (coming soon)\n- [ ] Ruby (coming soon)\n\n## Usage\n\n### JSX\n\nInstall the package to transform Xstache to JSX JavaScript:\n\n```sh\nnpm install @xstache/jsx\n```\n\nExecute the CLI to compile your Xstache template(s) to JavaScript files:\n\n```sh\nnpx xstache-jsx --write example.xstache\n```\n\n## License\n\nReleased under the [2-clause BSD license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirk%2Fxstache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdirk%2Fxstache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirk%2Fxstache/lists"}