{"id":13509724,"url":"https://github.com/falti/ex_nric","last_synced_at":"2026-02-21T18:02:00.356Z","repository":{"id":62429249,"uuid":"175300307","full_name":"falti/ex_nric","owner":"falti","description":"Validation for National Registration Identity Card numbers (NRIC)","archived":false,"fork":false,"pushed_at":"2021-08-11T10:18:35.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-31T22:03:28.885Z","etag":null,"topics":["checksum-calculation","elixir","nric","validation"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/falti.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}},"created_at":"2019-03-12T21:39:50.000Z","updated_at":"2021-08-11T10:18:38.000Z","dependencies_parsed_at":"2022-11-01T20:04:49.471Z","dependency_job_id":null,"html_url":"https://github.com/falti/ex_nric","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/falti/ex_nric","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falti%2Fex_nric","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falti%2Fex_nric/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falti%2Fex_nric/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falti%2Fex_nric/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/falti","download_url":"https://codeload.github.com/falti/ex_nric/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/falti%2Fex_nric/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29689644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T15:51:39.154Z","status":"ssl_error","status_checked_at":"2026-02-21T15:49:03.425Z","response_time":107,"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":["checksum-calculation","elixir","nric","validation"],"created_at":"2024-08-01T02:01:12.025Z","updated_at":"2026-02-21T18:02:00.339Z","avatar_url":"https://github.com/falti.png","language":"Elixir","funding_links":[],"categories":["Validations"],"sub_categories":[],"readme":"# ExNric\n\n[![Hex.pm Version](http://img.shields.io/hexpm/v/ex_nric.svg?style=flat)](https://hex.pm/packages/ex_nric)\n\n  * [Documentation](https://hexdocs.pm/ex_nric)\n  \n## About\n\nValidation for Singapore National Registration Identity Card numbers (NRIC)\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `ex_nric` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:ex_nric, \"~\u003e 0.2.0\"}\n  ]\nend\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at [https://hexdocs.pm/ex_nric](https://hexdocs.pm/ex_nric).\n\n## Usage\n\n```elixir\n\nimport ExNric\n\n{:ok, \"S7343684B\"} = validate(\"S7343684B\")\n\n{:error, :invalid_format} = validate(\"x\")\n{:error, :invalid_format} = validate(\"x\")\n{:error, :checksum_error} = validate(\"G0047750U\")\n\n```\n\n## Contributing\n\nPull requests to contribute new or improved features, and extend documentation are most welcome.\n\nPlease follow the existing coding conventions, or refer to the [Elixir style guide](https://github.com/niftyn8/elixir_style_guide).\n\nYou should include unit tests to cover any changes. Run `mix test` to execute the test suite.\nYou should also ensure that dialyzer checks pass. Run `mix dialyzer` to verify. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalti%2Fex_nric","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffalti%2Fex_nric","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffalti%2Fex_nric/lists"}