{"id":23155743,"url":"https://github.com/d-edge/cardidy","last_synced_at":"2025-10-05T13:28:44.480Z","repository":{"id":40374115,"uuid":"405921604","full_name":"d-edge/Cardidy","owner":"d-edge","description":"A .net library to identify credit card number and cvv","archived":false,"fork":false,"pushed_at":"2024-02-19T16:43:55.000Z","size":153,"stargazers_count":40,"open_issues_count":12,"forks_count":16,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-07-13T17:49:46.501Z","etag":null,"topics":["american-express","card","credit-card","cvv","dotnet","hacktoberfest","hacktoberfest-accepted","hacktoberfest2022","jcb","library","luhn","luhn-algorithm","mastercard","visa"],"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/d-edge.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":"2021-09-13T10:05:30.000Z","updated_at":"2025-06-04T22:54:42.000Z","dependencies_parsed_at":"2024-12-17T21:11:41.629Z","dependency_job_id":"5ab21e58-3132-4cfa-97d9-30ee180c723a","html_url":"https://github.com/d-edge/Cardidy","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/d-edge/Cardidy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-edge%2FCardidy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-edge%2FCardidy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-edge%2FCardidy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-edge%2FCardidy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d-edge","download_url":"https://codeload.github.com/d-edge/Cardidy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-edge%2FCardidy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270922509,"owners_count":24668567,"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-08-17T02:00:09.016Z","response_time":129,"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":["american-express","card","credit-card","cvv","dotnet","hacktoberfest","hacktoberfest-accepted","hacktoberfest2022","jcb","library","luhn","luhn-algorithm","mastercard","visa"],"created_at":"2024-12-17T21:11:27.084Z","updated_at":"2025-10-05T13:28:39.431Z","avatar_url":"https://github.com/d-edge.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cbr /\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/d-edge/cardidy/main/cardidy.png\" alt=\"cardidy logo\" height=\"140\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/d-edge/Cardidy/actions\" title=\"actions\"\u003e\u003cimg src=\"https://github.com/d-edge/cardidy/actions/workflows/build.yml/badge.svg?branch=main\" alt=\"actions build\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.nuget.org/packages/DEdge.Cardidy/\" title=\"nuget\"\u003e\u003cimg src=\"https://img.shields.io/nuget/vpre/DEdge.Cardidy\" alt=\"version\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.nuget.org/stats/packages/DEdge.Cardidy?groupby=Version\" title=\"stats\"\u003e\u003cimg src=\"https://img.shields.io/nuget/dt/DEdge.Cardidy\" alt=\"download\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://raw.githubusercontent.com/d-edge/cardidy/main/LICENSE\" title=\"license\"\u003e\u003cimg src=\"https://img.shields.io/github/license/d-edge/Cardidy\" alt=\"license\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr /\u003e\n\nCardidy is a .net library to identify credit card number and cvv. Maintained by folks at [D-EDGE](https://www.d-edge.com/).\n\n## Features\n\n* Easy to use\n* Easy to extend\n* Easy to maintain (Regex-free)\n* Up-to-date with Wikipedia\n* Check with the Luhn's algorithm\n* Can check for Cvv\n* Can guess anonymized credit card \n* Can guess truncated creditcard card\n* Support for Visa credit card\n* Support for Jcb credit card\n* Support for Amex credit card\n* Support for Discover credit card\n* Support for MasterCard credit card\n* Support for more...\n\n## Getting Started as library\n\nInstall the [DEdge.Cardidy](https://www.nuget.org/packages/DEdge.Cardidy) NuGet package:\n\n    PM\u003e Install-Package DEdge.Cardidy\n\nAlternatively you can also use the .NET CLI to add the packages:\n\n    dotnet add package DEdge.Cardidy\n\nNext create a .net application and use DEdge.Cardidy:\n\n```csharp\nvar card = DEdge.Cardidy.Identify(\"4127540509730813\").Single();\nConsole.WriteLine(card); // print Visa\n```\n\nor in F#:\n\n```fsharp\nopen System\n\n[\u003cEntryPoint\u003e]\nlet main _ =\n    let isVisa = DEdge.Cardidy.Identify \"4127540509730813\" |\u003e Seq.head = DEdge.CardType.Visa\n    printfn \"%b\" isVisa\n    0\n```\n\n## Getting Started working on Cardidy\n\n- `git clone git@github.com:d-edge/Cardidy.git`\n- `cd Cardidy`\n- `dotnet test`\n\nLet's go :smile:\n\n\n## Note\n\nThe library mostly follows the Wikipedia's page: [Payment card number](https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_(IIN)). On Cardidy, we made some modifications though:\n\n- Diners Club International is known as Diners Club\n\n## License\n\n[MIT](https://raw.githubusercontent.com/d-edge/cardidy/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-edge%2Fcardidy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd-edge%2Fcardidy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-edge%2Fcardidy/lists"}