{"id":30532220,"url":"https://github.com/adamjdeacon/checkluhn","last_synced_at":"2026-03-04T09:02:11.725Z","repository":{"id":56937149,"uuid":"145866777","full_name":"adamjdeacon/checkLuhn","owner":"adamjdeacon","description":"Checks if a number is valid per the luhn algorithm","archived":false,"fork":false,"pushed_at":"2024-02-13T15:42:44.000Z","size":40,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-09T21:52:46.804Z","etag":null,"topics":["credit-card","creditcard-validator","luhn","luhn-algorithm","r","validation"],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adamjdeacon.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-08-23T14:41:19.000Z","updated_at":"2024-06-04T05:02:19.000Z","dependencies_parsed_at":"2025-09-08T15:23:44.379Z","dependency_job_id":"a922e100-9292-41ea-8b23-56e2f393c50d","html_url":"https://github.com/adamjdeacon/checkLuhn","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/adamjdeacon/checkLuhn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjdeacon%2FcheckLuhn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjdeacon%2FcheckLuhn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjdeacon%2FcheckLuhn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjdeacon%2FcheckLuhn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamjdeacon","download_url":"https://codeload.github.com/adamjdeacon/checkLuhn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjdeacon%2FcheckLuhn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30076935,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T08:01:56.766Z","status":"ssl_error","status_checked_at":"2026-03-04T08:00:42.919Z","response_time":59,"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":["credit-card","creditcard-validator","luhn","luhn-algorithm","r","validation"],"created_at":"2025-08-27T10:01:51.905Z","updated_at":"2026-03-04T09:02:11.720Z","avatar_url":"https://github.com/adamjdeacon.png","language":"R","readme":"# CheckLuhn\n\n[![Build Status](https://travis-ci.org/adamjdeacon/checkLuhn.svg?branch=master)](https://travis-ci.org/adamjdeacon/checkLuhn)\n[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/adamjdeacon/checkLuhn?branch=master\u0026svg=true)](https://ci.appveyor.com/project/adamjdeacon/checkLuhn)\n[![Coverage Status](https://codecov.io/gh/adamjdeacon/checkLuhn/branch/master/graph/badge.svg)](https://codecov.io/gh/adamjdeacon/checkLuhn?branch=master)\n[![Rdoc](http://www.rdocumentation.org/badges/version/checkLuhn)](http://www.rdocumentation.org/packages/checkLuhn)\n\n## Overview\n\ncheckLuhn is package to assist checking PANs (credit/debit card number) or any\nother number that uses the Luhn algorithum to validte.\n\nThe algorithm is in the public domain and is in wide use today. It is specified \nin ISO/IEC 7812-1. It is not intended to be a cryptographically secure hash \nfunction; it was designed to protect against accidental errors, not malicious \nattacks. Most credit cards and many government identification numbers use the \nalgorithm as a simple method of distinguishing valid numbers from mistyped or \notherwise incorrect numbers.\n\nThe `issuer` function will can return the Card Issuer/Scheme and if that scheme\nis active or not\n\n## Installation\n\n``` r\n# The easiest way to get checkLuhn:\ninstall.packages(\"checkLuhn\")\n```\n\n### Development version\n\nTo get a bug fix, or use a feature from the development version, you can\ninstall dplyr from GitHub.\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"adamjdeacon/checkLuhn\")\n```\n\n## Usage\n\n``` r\nlibrary(checkLuhn)\n\n# Invalid number\ninput \u003c- \"4111 2234 2242 1234\"\ncheckLuhn(input)\n[1] FALSE\n\n# Valid number\ninput \u003c- \"34000000 0000 009\"\ncheckLuhn(input)\n[1] TRUE\n\n# Check for card type\ninput \u003c- '378282246310005'\n\u003e issuer(input)\n# A tibble: 1 x 2\n  issuer           active\n  \u003cchr\u003e            \u003cchr\u003e \n1 American Express Yes  \n```\n\n\n\n## Getting help\n\nIf you encounter a clear bug, please file a minimal reproducible example\non [github](https://github.com/adamjdeacon/checkLuhn/issues).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamjdeacon%2Fcheckluhn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamjdeacon%2Fcheckluhn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamjdeacon%2Fcheckluhn/lists"}