{"id":17279280,"url":"https://github.com/pavanpodila/clause-builder","last_synced_at":"2026-05-03T04:41:33.610Z","repository":{"id":145334038,"uuid":"152870196","full_name":"pavanpodila/clause-builder","owner":"pavanpodila","description":"A clause parser","archived":false,"fork":false,"pushed_at":"2018-10-19T15:19:43.000Z","size":270,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-26T14:50:19.236Z","etag":null,"topics":["mobx","pegjs","react","typescript"],"latest_commit_sha":null,"homepage":"https://clauser.netlify.com/","language":"TypeScript","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/pavanpodila.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-13T12:34:02.000Z","updated_at":"2018-10-19T15:19:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b626719-74ea-4c99-b96a-79c9943175e2","html_url":"https://github.com/pavanpodila/clause-builder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pavanpodila/clause-builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavanpodila%2Fclause-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavanpodila%2Fclause-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavanpodila%2Fclause-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavanpodila%2Fclause-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pavanpodila","download_url":"https://codeload.github.com/pavanpodila/clause-builder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pavanpodila%2Fclause-builder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32558667,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T03:21:47.309Z","status":"ssl_error","status_checked_at":"2026-05-03T03:21:43.884Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["mobx","pegjs","react","typescript"],"created_at":"2024-10-15T09:16:46.083Z","updated_at":"2026-05-03T04:41:33.588Z","avatar_url":"https://github.com/pavanpodila.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Clause Parser\n\nA clause is some text interspersed with `placeholders`. \\__placeholders_, which will get\ntheir values when the clause is created.\n\nTags are specified with the following syntax:\n\n```text\n[\u003cname\u003e: \u003csource\u003e { \u003cfield-path\u003e \u003coperator\u003e \u003cvalue\u003e }]\n```\n\nThe complete grammar can be found in [grammar.pegjs](src/clause/parser/grammar.pegjs)\n\n## Quick Sample\n\nHere's a sample clause with placeholders:\n\n```text\nThe weather at\n    [city: city{name = \"Bengaluru\", country.name = \"India\"}] is\n    [temp: city{temperature \u003e 0}]°[unit: temperatureUnit{unit != \"\"}]\n```\n\n## How's it built?\n\n-   [x] [PegJS](https://pegjs.org) for parsing\n-   [x] MobX, React and Styled-Components for the demo\n\n## Demo\n\nView the [demo](https://clauser.netlify.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavanpodila%2Fclause-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpavanpodila%2Fclause-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavanpodila%2Fclause-builder/lists"}