{"id":1129992,"name":"@prm/luhn","ecosystem":"npm","description":"A zero-dependency Node.js module for calculating a numeric check digit for alphanumeric strings. The exported `luhn()` function uses the [Luhn algorithm ](https://en.wikipedia.org/wiki/Luhn_algorithm) to calculate a check digit based on an input string.","homepage":"https://github.com/pdx-mission/luhn#readme","licenses":"GPL-3.0-or-later","normalized_licenses":["GPL-3.0-or-later"],"repository_url":"https://github.com/pdx-mission/luhn","keywords_array":[],"namespace":"prm","versions_count":4,"first_release_published_at":"2019-06-28T23:25:59.186Z","latest_release_published_at":"2020-03-24T16:44:57.261Z","latest_release_number":"0.1.5","last_synced_at":"2026-05-17T22:33:41.771Z","created_at":"2022-04-08T11:36:23.089Z","updated_at":"2026-08-26T15:25:56.818Z","registry_url":"https://www.npmjs.com/package/@prm/luhn","install_command":"npm install @prm/luhn","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.1.5"}},"repo_metadata":{"id":34984791,"uuid":"193778613","full_name":"pdx-mission/luhn","owner":"pdx-mission","description":"🔢 A Luhn algorithm (Mod 10 sum of values) for generating scan line check digits","archived":false,"fork":false,"pushed_at":"2023-01-05T16:18:58.000Z","size":686,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T09:18:14.619Z","etag":null,"topics":["check-digits","library","luhn","luhn-algorithm"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/pdx-mission.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":"2019-06-25T20:26:53.000Z","updated_at":"2020-03-24T16:45:07.000Z","dependencies_parsed_at":"2023-01-15T11:29:48.769Z","dependency_job_id":null,"html_url":"https://github.com/pdx-mission/luhn","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/pdx-mission/luhn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdx-mission%2Fluhn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdx-mission%2Fluhn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdx-mission%2Fluhn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdx-mission%2Fluhn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pdx-mission","download_url":"https://codeload.github.com/pdx-mission/luhn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdx-mission%2Fluhn/sbom","scorecard":{"id":725650,"data":{"date":"2025-08-11","repo":{"name":"github.com/pdx-mission/luhn","commit":"0ba45dce7b50ada024c6ec5788b63b92e2069ff3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/16 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"29 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T12:43:39.486Z","repository_id":34984791,"created_at":"2025-08-22T12:43:39.486Z","updated_at":"2025-08-22T12:43:39.486Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36922003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-08-26T02:00:06.703Z","response_time":94,"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"},"owner_record":{"login":"pdx-mission","name":"Portland Rescue Mission","uuid":"38054227","kind":"organization","description":"Portland Rescue Mission provides food, shelter, recovery and other vital services to men, women and children affected by homelessness, addiction and abuse.","email":"info@pdxmission.org","website":"https://www.portlandrescuemission.org","location":"Portland, OR","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/38054227?v=4","repositories_count":1,"last_synced_at":"2023-03-02T22:00:26.688Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/pdx-mission","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-13T12:06:38.651Z","updated_at":"2023-03-02T22:00:26.700Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pdx-mission","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pdx-mission/repositories"},"tags":[{"name":"v0.1.5","sha":"0ba45dce7b50ada024c6ec5788b63b92e2069ff3","kind":"tag","published_at":"2020-03-24T16:44:43.000Z","download_url":"https://codeload.github.com/pdx-mission/luhn/tar.gz/v0.1.5","html_url":"https://github.com/pdx-mission/luhn/releases/tag/v0.1.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pdx-mission/luhn@v0.1.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdx-mission%2Fluhn/tags/v0.1.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdx-mission%2Fluhn/tags/v0.1.5/manifests"},{"name":"v0.1.4","sha":"c9bb47bf0d68fa6249645aa364fc6ac51e4e9cdf","kind":"tag","published_at":"2020-01-09T23:58:37.000Z","download_url":"https://codeload.github.com/pdx-mission/luhn/tar.gz/v0.1.4","html_url":"https://github.com/pdx-mission/luhn/releases/tag/v0.1.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pdx-mission/luhn@v0.1.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdx-mission%2Fluhn/tags/v0.1.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdx-mission%2Fluhn/tags/v0.1.4/manifests"},{"name":"v0.1.3","sha":"1460f1c22e25b939a2bba1890a0d3009ca96b23d","kind":"commit","published_at":"2019-08-08T19:16:57.000Z","download_url":"https://codeload.github.com/pdx-mission/luhn/tar.gz/v0.1.3","html_url":"https://github.com/pdx-mission/luhn/releases/tag/v0.1.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pdx-mission/luhn@v0.1.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdx-mission%2Fluhn/tags/v0.1.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdx-mission%2Fluhn/tags/v0.1.3/manifests"},{"name":"v0.1.2","sha":"103539dadb397e60e9007058d50742bbe9dfb77e","kind":"commit","published_at":"2019-06-28T23:23:34.000Z","download_url":"https://codeload.github.com/pdx-mission/luhn/tar.gz/v0.1.2","html_url":"https://github.com/pdx-mission/luhn/releases/tag/v0.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pdx-mission/luhn@v0.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdx-mission%2Fluhn/tags/v0.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdx-mission%2Fluhn/tags/v0.1.2/manifests"},{"name":"v0.1.1","sha":"6ddbfe49b761f316d149c868fbfc0e4f93feb617","kind":"tag","published_at":"2019-06-28T23:02:07.000Z","download_url":"https://codeload.github.com/pdx-mission/luhn/tar.gz/v0.1.1","html_url":"https://github.com/pdx-mission/luhn/releases/tag/v0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pdx-mission/luhn@v0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdx-mission%2Fluhn/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdx-mission%2Fluhn/tags/v0.1.1/manifests"},{"name":"0.1.0","sha":"03225a079d4f25a51b8d62d82f4fb4663f354644","kind":"commit","published_at":"2019-06-28T22:56:15.000Z","download_url":"https://codeload.github.com/pdx-mission/luhn/tar.gz/0.1.0","html_url":"https://github.com/pdx-mission/luhn/releases/tag/0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pdx-mission/luhn@0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdx-mission%2Fluhn/tags/0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdx-mission%2Fluhn/tags/0.1.0/manifests"}]},"repo_metadata_updated_at":"2026-08-26T15:25:56.818Z","dependent_packages_count":2,"downloads":14,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":32.40691633407846,"dependent_repos_count":10.352844454248336,"dependent_packages_count":8.866993965077977,"stargazers_count":20.972655323485494,"forks_count":15.43149453300609,"docker_downloads_count":null,"average":17.60618092197927},"purl":"pkg:npm/%40prm/luhn","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@prm/luhn","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@prm/luhn","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@prm/luhn/dependencies","status":"deprecated","funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2024-08-09T04:39:53.131Z","issues_count":0,"pull_requests_count":15,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":8559914.666666666,"issues_closed_count":0,"pull_requests_closed_count":3,"pull_request_authors_count":2,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.06666666666666667,"merged_pull_requests_count":2,"bot_issues_count":0,"bot_pull_requests_count":15,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdx-mission%2Fluhn/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@prm%2Fluhn/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@prm%2Fluhn/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@prm%2Fluhn/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@prm%2Fluhn/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@prm%2Fluhn/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@prm%2Fluhn/codemeta","maintainers":[{"uuid":"htunnicliff","login":"htunnicliff","name":null,"email":"hunter@tunnicliff.co","url":null,"packages_count":50,"html_url":"https://www.npmjs.com/~htunnicliff","role":null,"created_at":"2022-11-20T23:54:36.042Z","updated_at":"2022-11-20T23:54:36.042Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/htunnicliff/packages"}]}