{"id":42407578,"url":"https://github.com/daniel-samson/dilo","last_synced_at":"2026-01-28T01:40:10.927Z","repository":{"id":267517044,"uuid":"887586826","full_name":"daniel-samson/dilo","owner":"daniel-samson","description":"A form / object validation library written for Deno","archived":false,"fork":false,"pushed_at":"2025-02-09T17:41:23.000Z","size":118,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T18:31:17.216Z","etag":null,"topics":["deno","validation","validation-library"],"latest_commit_sha":null,"homepage":"https://jsr.io/@danielsamson/dilo","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/daniel-samson.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-11-12T23:45:35.000Z","updated_at":"2025-02-09T17:39:44.000Z","dependencies_parsed_at":"2024-12-10T20:25:58.819Z","dependency_job_id":"dbd3e66c-199b-4ed6-abc3-8fa8d43e6587","html_url":"https://github.com/daniel-samson/dilo","commit_stats":null,"previous_names":["daniel-samson/dilo"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/daniel-samson/dilo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-samson%2Fdilo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-samson%2Fdilo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-samson%2Fdilo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-samson%2Fdilo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daniel-samson","download_url":"https://codeload.github.com/daniel-samson/dilo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel-samson%2Fdilo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28832108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T23:29:49.665Z","status":"ssl_error","status_checked_at":"2026-01-27T23:25:58.379Z","response_time":168,"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":["deno","validation","validation-library"],"created_at":"2026-01-28T01:40:10.111Z","updated_at":"2026-01-28T01:40:10.917Z","avatar_url":"https://github.com/daniel-samson.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dilo\n\nA validation library for deno. The name is short for \"Dilophosaurus\". It is\nessentially a port of laravel's validation library.\n\n## Project Status\n\nThis project is currently in active development. It follows the practices of\n[Semantic Versioning](https://semver.org/).\n\n[![Deno](https://github.com/daniel-samson/dilo/actions/workflows/deno.yml/badge.svg)](https://github.com/daniel-samson/dilo/actions/workflows/deno.yml)\n[![codecov](https://codecov.io/gh/daniel-samson/dilo/graph/badge.svg?token=tIzOnJXw1G)](https://codecov.io/gh/daniel-samson/dilo)\n[![JSR](https://jsr.io/badges/@danielsamson/dilo)](https://jsr.io/@danielsamson/dilo)\n[![JSR Score](https://jsr.io/badges/@danielsamson/dilo/score)](https://jsr.io/@danielsamson/dilo\u003e)\n\n## Usage\n\n```ts\nimport { Dilo } from \"@danielsamson/dilo\";\n\nconst rules = {\n  foo: \"required|numeric\",\n  bar: \"sometimes|string\",\n  baz: \"nullable|boolean\",\n};\n\nconst request = Dilo.make(rules);\nconst errors = request.validate({ foo: \"1\", bar: \"bar\", baz: true });\n\nif (errors) {\n  for (const field of Object.keys(errors)) {\n    console.log(field, errors[field]);\n  }\n}\n```\n\nOutput:\n\n```shell\nfoo [ \"foo must be a numeric value\" ]\n```\n\n## Documentation\n\nYou can find the documentation for the latest version at\n[read the docs](https://dilo.readthedocs.io/en/latest/).\n\n## Contributing\n\n### Setting up Git Hooks\n\nAfter cloning the repository, run the following command to set up Git hooks:\n\n```bash\n./setup-hooks.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel-samson%2Fdilo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaniel-samson%2Fdilo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel-samson%2Fdilo/lists"}