{"id":29673782,"url":"https://github.com/devyuscode/xvalid","last_synced_at":"2025-10-27T22:09:32.588Z","repository":{"id":184436861,"uuid":"671485276","full_name":"DevyusCode/XValid","owner":"DevyusCode","description":"A simple validator library for various things, such as email, credit card, ISBN and more","archived":false,"fork":false,"pushed_at":"2024-11-09T16:51:44.000Z","size":427,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-09T17:37:45.825Z","etag":null,"topics":["credit-card-validation","csharp","dotnet","email-validator","iban-validator","ip-validator","isbn-validation","lib","library","nuget","validator"],"latest_commit_sha":null,"homepage":"https://dev.peyronnet.group/xvalid/","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/DevyusCode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2023-07-27T12:29:12.000Z","updated_at":"2024-11-09T16:51:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"20611d96-86d6-42f0-bcbb-847eab1b0367","html_url":"https://github.com/DevyusCode/XValid","commit_stats":null,"previous_names":["devyuscode/xvalid"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/DevyusCode/XValid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevyusCode%2FXValid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevyusCode%2FXValid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevyusCode%2FXValid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevyusCode%2FXValid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevyusCode","download_url":"https://codeload.github.com/DevyusCode/XValid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevyusCode%2FXValid/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266580843,"owners_count":23951302,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["credit-card-validation","csharp","dotnet","email-validator","iban-validator","ip-validator","isbn-validation","lib","library","nuget","validator"],"created_at":"2025-07-22T22:08:19.162Z","updated_at":"2025-10-27T22:09:32.498Z","avatar_url":"https://github.com/DevyusCode.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XValid - A Simple Validator Library\n\n![GitHub contributors](https://img.shields.io/github/contributors/DevyusCode/XValid)\n![GitHub issues](https://img.shields.io/github/issues/DevyusCode/XValid)\n![GitHub](https://img.shields.io/github/license/DevyusCode/XValid)\n![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/DevyusCode/XValid/dotnet.yml?branch=main)\n![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/DevyusCode/XValid)\n\n\u003cbr /\u003e\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/DevyusCode/XValid\"\u003e\n    \u003cimg src=\".github/images/logo.png\" alt=\"Logo\" width=\"80\" height=\"80\"\u003e\n  \u003c/a\u003e\n\n  \u003ch1 align=\"center\"\u003eXValid\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    A simple validator library for various things, such as coordinates, credit cards, domain names, emails, IBANs, IP addresses, ISBNs, and more.\n    \u003cbr /\u003e\n    \u003ca href=\"https://dev.peyronnet.group/xvalid/\"\u003e\u003cstrong\u003eView documentation »\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/DevyusCode/XValid/issues/new?assignees=\u0026labels=bug\u0026template=bug-report.yml\u0026title=%5BBug%5D+\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/DevyusCode/XValid/issues/new?assignees=\u0026labels=enhancement\u0026template=feature-request.yml\u0026title=%5BEnhancement%5D+\"\u003eRequest Feature\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/DevyusCode/XValid/issues?q=is%3Aopen+is%3Aissue+label%3Abug\"\u003eKnown Issues\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n## Features\n\n- [x] Validate coordinates.\n- [x] Validate credit card numbers.\n- [x] Validate domain names.\n- [x] Validate email addresses.\n- [x] Validate IBANs.\n- [x] Validate IP addresses.\n- [x] Validate ISBNs.\n- [ ] More features are planned for future releases.\n\n## How to Use\n\n1. Install XValid via NuGet using the following command:\n\n```\nInstall-Package XValid\n```\n\nor\n\n```\ndotnet add package XValid\n```\n\n2. Import the `XValid` namespace in your C# code.\n\n3. Start validating!\n\n### Coordinate Validation\n\n```csharp\nusing XValid;\n\ndouble latitude = 40.7128; // Example latitude\ndouble longitude = -74.0060; // Example longitude\nbool isValidCoordinate = CoordinateValidator.IsValidCoordinate(latitude, longitude);\n```\n\n### Credit Card Validation\n\n```csharp\nusing XValid;\n\nstring creditCardNumber = \"4111 1111 1111 1111\"; // Example card number (Visa)\nbool isValidCreditCard = CreditCardValidator.IsValidCreditCardNumber(creditCardNumber);\n```\n\n### Domain Name Validation\n\n```csharp\nusing XValid;\n\nstring domainName = \"example.com\";\nbool isValidDomainName = DomainNameValidator.IsValid(domainName);\n```\n\n### Email Validation\n\n```csharp\nusing XValid;\n\nstring email = \"user@example.com\";\nbool isValidEmail = EmailValidator.IsValidEmail(email);\n```\n\n### IBAN Validation\n\n```csharp\nusing XValid;\n\nstring iban = \"DE89370400440532013000\"; // Example IBAN (Germany)\nbool isValidIBAN = IBANValidator.IsValidIBAN(iban);\n```\n\n### IP Address Validation\n\n```csharp\nusing XValid;\n\nstring ipAddress = \"192.0.2.1\"; // Example IP address\nbool isValidIPAddress = IPAddressValidator.IsValidIPAddress(ipAddress);\n```\n\n### ISBN Validation\n\n```csharp\nusing XValid;\n\nstring isbn = \"978-3-16-148410-0\";\nbool isValidISBN = ISBNValidator.IsValidISBN(isbn);\n```\n\n## Contribution Guidelines\n\nTo contribute to XValid, follow these steps:\n\n1. Ensure you have the following tools installed:\n   - Visual Studio 2022 v17.0 or higher\n   - .NET 6.0 SDK\n   - Git\n   - .NET 6\n2. Fork the XValid repository and clone it to your local machine.\n3. Make your changes or add new features.\n4. Write tests to ensure the changes are functioning as expected.\n5. Submit a pull request to the main repository.\n\nFor more detailed guidelines, check out the [contribution guidelines](CONTRIBUTING.md).\n\n## License\n\nThis project is under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevyuscode%2Fxvalid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevyuscode%2Fxvalid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevyuscode%2Fxvalid/lists"}