{"id":17449223,"url":"https://github.com/ahstro/elm-ssn-validation","last_synced_at":"2025-03-30T11:26:40.251Z","repository":{"id":57674755,"uuid":"116118455","full_name":"ahstro/elm-ssn-validation","owner":"ahstro","description":"Validate social security numbers","archived":false,"fork":false,"pushed_at":"2018-01-08T10:55:41.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T13:19:59.987Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elm","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahstro.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":"2018-01-03T09:29:55.000Z","updated_at":"2018-01-03T09:30:14.000Z","dependencies_parsed_at":"2022-09-02T15:01:28.965Z","dependency_job_id":null,"html_url":"https://github.com/ahstro/elm-ssn-validation","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahstro%2Felm-ssn-validation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahstro%2Felm-ssn-validation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahstro%2Felm-ssn-validation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahstro%2Felm-ssn-validation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahstro","download_url":"https://codeload.github.com/ahstro/elm-ssn-validation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246310467,"owners_count":20756944,"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","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":"2024-10-17T21:08:09.475Z","updated_at":"2025-03-30T11:26:40.227Z","avatar_url":"https://github.com/ahstro.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# elm-ssn-validation\n\nValidate social security numbers.\nIf the type of SSN you'd like to validate isn't available, submit an\n[issue](https://github.com/ahstro/elm-ssn-validation/issues/new) or,\neven better, a [pull request](https://github.com/ahstro/elm-ssn-validation/compare).\n\n\n## Available SSNs\n\n| Language                        | Validation         | Normalization      |\n| ------------------------------- | :----------------: | :----------------: |\n| :sweden: Swedish (personnummer) | :white_check_mark: | :white_check_mark: |\n\n## Installation\n\n```sh\nelm-package install ahstro/elm-ssn-validation\n```\n\n## Usage\n\n```elm\nimport Validation.SSN.Swedish as SSN\n\n\ncase SSN.validate \"811218-9876\" of\n    Ok ssn -\u003e\n        ssn ++ \" is valid\" -- \"811218-9876 is valid\"\n    Err error -\u003e\n        error\n\n\nif SSN.isValid \"811218-9876\" then\n  \"Yay\"\nelse\n  \"Nay\"\n\n```\n\nMore examples are available in the [/tests](https://github.com/ahstro/elm-ssn-validation/tree/master/tests) folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahstro%2Felm-ssn-validation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahstro%2Felm-ssn-validation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahstro%2Felm-ssn-validation/lists"}