{"id":22382327,"url":"https://github.com/luca16s/validacao-de-documentos","last_synced_at":"2026-05-14T13:42:16.512Z","repository":{"id":75535988,"uuid":"88413505","full_name":"luca16s/validacao-de-documentos","owner":"luca16s","description":"Document validation Tool","archived":false,"fork":false,"pushed_at":"2018-02-01T10:40:25.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-27T04:30:30.301Z","etag":null,"topics":["c-sharp","cpf","dotnet-core","visual-studio"],"latest_commit_sha":null,"homepage":"","language":"C#","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/luca16s.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.MD","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":"2017-04-16T13:02:05.000Z","updated_at":"2022-12-05T12:39:00.000Z","dependencies_parsed_at":"2023-06-06T20:00:42.970Z","dependency_job_id":null,"html_url":"https://github.com/luca16s/validacao-de-documentos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/luca16s/validacao-de-documentos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luca16s%2Fvalidacao-de-documentos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luca16s%2Fvalidacao-de-documentos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luca16s%2Fvalidacao-de-documentos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luca16s%2Fvalidacao-de-documentos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luca16s","download_url":"https://codeload.github.com/luca16s/validacao-de-documentos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luca16s%2Fvalidacao-de-documentos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33027782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["c-sharp","cpf","dotnet-core","visual-studio"],"created_at":"2024-12-05T00:12:33.175Z","updated_at":"2026-05-14T13:42:16.472Z","avatar_url":"https://github.com/luca16s.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"Validação de documentos\n================\n\n## Project status\nBulid Status|License|\n------------|-------|\n[![Build Status](https://travis-ci.org/luca16s/validacao-de-documentos.svg?branch=master)](https://travis-ci.org/luca16s/validacao-de-documentos) | [![License](https://img.shields.io/badge/LICENSE-MIT-orange.svg)]() |\n\n:us:\n### About this project\nLibrary to validate some Brazilian document numbers.\nFor now it's I only implemented the CPF validation, but soon CNPJ will be added too.\nAs well this lib can return the region where CPF is created.\n\n### How to use\nSimplely add reference to your project and call the function Validation() who is inside the class \"CpfValidationClass.cs\";\nThe'll return true if the number is correct. If the number is incorrect the'll return false.\nTo return the region where CPF was created, just call the function named RegionCpf() who is inside \"CpfRegionCheck.cs\".\n\n\u003cspan\u003e\u0026#x1f1e7;\u0026#x1f1f7;\u003c/span\u003e\n### Sobre este projeto\nBiblioteca para validar números de documentos do Brasil.\nPor enquanto só a validação de CPF foi implementada, mas em breve a validação de CNPJ também será acrescentada.\nEssa biblioteca pode também retornar a região em que o CPF foi criado.\n\n### Como usar\nAdicione a referência ao seu projeto e chame a função Validation() que está dentro da classe CpfValidationClass.cs;\nEla irá retornar verdadeiro se a numeração do CPF estiver correta. Se estiver errada ira retornar falso.\nPara retornar a região onde o CPF foi criado basta aprenas chamar a função RegionCpf() que está dentro da classe \"CpfRegionCheck.cs\".\n\n#### :us: Example | \u003cspan\u003e\u0026#x1f1e7;\u0026#x1f1f7;\u003c/span\u003e Exemplo\n\n```csharp\nusing System;\nusing CpfValidation;\n\nnamespace CpfTest\n{\n    internal static class Program\n    {\n        private static void Main()\n        {\n            Console.WriteLine(\"Insira seu CPF: \");\n            var userCpf = Console.ReadLine().Replace(\"-\", \"\").Replace(\".\", \"\");\n            var validationResults = CheckLength(userCpf)\n                                    \u0026\u0026 CheckLetters(userCpf)\n                                    \u0026\u0026 CheckFalseSequences(userCpf)\n                                    \u0026\u0026 Validation(userCpf);\n            if (validationResults)\n            {\n                Console.WriteLine(\"CPF Valido!\");\n                Console.WriteLine(CpfRegionCheck.RegionCpf(userCpf));\n            }\n            else\n            {\n                Console.WriteLine(\"CPF Invalido!\");\n            }\n            Console.ReadLine();\n        }\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluca16s%2Fvalidacao-de-documentos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluca16s%2Fvalidacao-de-documentos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluca16s%2Fvalidacao-de-documentos/lists"}