{"id":13741687,"url":"https://github.com/aosasona/crossbar","last_synced_at":"2026-02-12T20:32:14.132Z","repository":{"id":218433891,"uuid":"743210802","full_name":"aosasona/crossbar","owner":"aosasona","description":"Tiny data validation library in pure Gleam","archived":false,"fork":false,"pushed_at":"2025-11-05T21:49:22.000Z","size":65,"stargazers_count":16,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-05T22:20:50.986Z","etag":null,"topics":["gleam","validation-library"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/crossbar","language":"Gleam","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/aosasona.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":"2024-01-14T16:59:58.000Z","updated_at":"2025-11-05T21:48:33.000Z","dependencies_parsed_at":"2024-01-21T23:07:48.119Z","dependency_job_id":"b7e70ca7-e2e7-4b84-a67b-b447f1d8f735","html_url":"https://github.com/aosasona/crossbar","commit_stats":null,"previous_names":["aosasona/crossbar"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/aosasona/crossbar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosasona%2Fcrossbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosasona%2Fcrossbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosasona%2Fcrossbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosasona%2Fcrossbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aosasona","download_url":"https://codeload.github.com/aosasona/crossbar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aosasona%2Fcrossbar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29380604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T19:05:20.189Z","status":"ssl_error","status_checked_at":"2026-02-12T19:01:44.216Z","response_time":55,"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":["gleam","validation-library"],"created_at":"2024-08-03T04:01:01.738Z","updated_at":"2026-02-12T20:32:14.115Z","avatar_url":"https://github.com/aosasona.png","language":"Gleam","funding_links":[],"categories":["Packages"],"sub_categories":["Validation"],"readme":"# crossbar\n\n[![Package Version](https://img.shields.io/hexpm/v/crossbar)](https://hex.pm/packages/crossbar)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/crossbar/)\n\n## Usage\n\n```gleam\nimport gleam/io\nimport crossbar.{int, max_value, min_value, required, to_float, validate}\n\npub fn main() {\n  int(\"age\", 16)\n  |\u003e to_float\n  |\u003e required\n  |\u003e min_value(18.0)\n  |\u003e max_value(21.0)\n  |\u003e validate\n  |\u003e io.debug\n}\n```\n\nThe snippet above will return the following error:\n\n```gleam\nError([FailedRule(\"age\", \"min_value\", \"must be at least 18.0\")])\n```\n\n## Installation\n\n```sh\ngleam add crossbar\n```\n\nDocumentation can be found at \u003chttps://hexdocs.pm/crossbar\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faosasona%2Fcrossbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faosasona%2Fcrossbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faosasona%2Fcrossbar/lists"}