{"id":971800,"name":"@hapi/joi","ecosystem":"npm","description":"Object schema validation","homepage":"https://github.com/hapijs/joi#readme","licenses":"BSD-3-Clause","normalized_licenses":["BSD-3-Clause"],"repository_url":"https://github.com/hapijs/joi","keywords_array":["schema","validation"],"namespace":"hapi","versions_count":28,"first_release_published_at":"2019-03-29T20:21:27.036Z","latest_release_published_at":"2020-03-14T00:03:53.591Z","latest_release_number":"17.1.1","last_synced_at":"2026-04-15T23:24:27.495Z","created_at":"2022-04-07T18:10:40.563Z","updated_at":"2026-04-15T23:24:27.495Z","registry_url":"https://www.npmjs.com/package/@hapi/joi","install_command":"npm install @hapi/joi","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"17.1.1","preview":"16.0.0-preview","lts":"14.5.0"}},"repo_metadata":{"id":4684322,"uuid":"5830987","full_name":"hapijs/joi","owner":"hapijs","description":"The most powerful data validation library for JS","archived":false,"fork":false,"pushed_at":"2026-03-30T17:24:52.000Z","size":10197,"stargazers_count":21200,"open_issues_count":188,"forks_count":1509,"subscribers_count":170,"default_branch":"master","last_synced_at":"2026-03-30T19:21:35.861Z","etag":null,"topics":["hapi","javascript","schema","validation"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hapijs.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2012-09-16T16:38:06.000Z","updated_at":"2026-03-30T17:24:56.000Z","dependencies_parsed_at":"2023-07-12T13:16:38.865Z","dependency_job_id":"68f4cb7a-17f9-410a-8276-28287e0593e5","html_url":"https://github.com/hapijs/joi","commit_stats":{"total_commits":1973,"total_committers":261,"mean_commits":7.559386973180077,"dds":0.7435377597567157,"last_synced_commit":"239ec335a19879f053439e778f0d1b9f57e3d351"},"previous_names":["sideway/joi"],"tags_count":276,"template":false,"template_full_name":null,"purl":"pkg:github/hapijs/joi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fjoi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fjoi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fjoi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fjoi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hapijs","download_url":"https://codeload.github.com/hapijs/joi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fjoi/sbom","scorecard":{"id":455162,"data":{"date":"2025-08-11","repo":{"name":"github.com/hapijs/joi","commit":"55b0096347c8bd963a9fc04060985344bb69f9ad"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.7,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Maintained","score":10,"reason":"16 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":2,"reason":"Found 6/23 approved changesets -- score normalized to 2","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":"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":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: topLevel 'contents' permission set to 'read': .github/workflows/ci-module.yml:12","Info: no jobLevel write permissions found"],"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-module.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/hapijs/joi/ci-module.yml/master?enable=pin","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"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":"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":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/hapijs/.github/SECURITY.md:1","Info: Found linked content: github.com/hapijs/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/hapijs/.github/SECURITY.md:1","Info: Found text in security policy: github.com/hapijs/.github/SECURITY.md:1"],"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 15 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"}}]},"last_synced_at":"2025-08-19T09:22:50.444Z","repository_id":4684322,"created_at":"2025-08-19T09:22:50.444Z","updated_at":"2025-08-19T09:22:50.444Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31244538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-31T15:15:33.278Z","status":"ssl_error","status_checked_at":"2026-03-31T15:15:28.327Z","response_time":111,"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"},"tags":[]},"repo_metadata_updated_at":"2026-04-05T01:22:49.983Z","dependent_packages_count":1851,"downloads":9796333,"downloads_period":"last-month","dependent_repos_count":1716809,"rankings":{"downloads":0.08227895756612924,"dependent_repos_count":0.01985845605246081,"dependent_packages_count":0.041276228801379704,"stargazers_count":0.666824538039433,"forks_count":1.010542112389785,"docker_downloads_count":0.05831086444347754,"average":0.3131818595487776},"purl":"pkg:npm/%40hapi/joi","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@hapi/joi","docker_dependents_count":3117,"docker_downloads_count":895298581,"usage_url":"https://repos.ecosyste.ms/usage/npm/@hapi/joi","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@hapi/joi/dependencies","status":"deprecated","funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-11-03T22:17:16.981Z","issues_count":210,"pull_requests_count":85,"avg_time_to_close_issue":8737271.58974359,"avg_time_to_close_pull_request":5935876.523076923,"issues_closed_count":117,"pull_requests_closed_count":65,"pull_request_authors_count":41,"issue_authors_count":200,"avg_comments_per_issue":2.8523809523809525,"avg_comments_per_pull_request":1.4,"merged_pull_requests_count":51,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":31,"past_year_pull_requests_count":13,"past_year_avg_time_to_close_issue":1787872.2,"past_year_avg_time_to_close_pull_request":6002153.333333333,"past_year_issues_closed_count":5,"past_year_pull_requests_closed_count":3,"past_year_pull_request_authors_count":8,"past_year_issue_authors_count":28,"past_year_avg_comments_per_issue":0.2903225806451613,"past_year_avg_comments_per_pull_request":1.5384615384615385,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":3,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapijs%2Fjoi/issues","maintainers":[{"login":"Marsup","count":27,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Marsup"}],"active_maintainers":[{"login":"Marsup","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Marsup"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@hapi%2Fjoi/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@hapi%2Fjoi/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@hapi%2Fjoi/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@hapi%2Fjoi/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@hapi%2Fjoi/codemeta","maintainers":[{"uuid":"nlf","login":"nlf","name":null,"email":"quitlahok@gmail.com","url":null,"packages_count":313,"html_url":"https://www.npmjs.com/~nlf","role":null,"created_at":"2022-11-10T10:53:05.585Z","updated_at":"2022-11-10T10:53:05.585Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/nlf/packages"},{"uuid":"marsup","login":"marsup","name":null,"email":"nicolas@morel.io","url":null,"packages_count":172,"html_url":"https://www.npmjs.com/~marsup","role":null,"created_at":"2022-11-10T10:53:05.577Z","updated_at":"2022-11-10T10:53:05.577Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/marsup/packages"},{"uuid":"devinivy","login":"devinivy","name":null,"email":"devinivy@gmail.com","url":null,"packages_count":323,"html_url":"https://www.npmjs.com/~devinivy","role":null,"created_at":"2022-11-10T10:53:05.593Z","updated_at":"2022-11-10T10:53:05.593Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/devinivy/packages"},{"uuid":"wyatt","login":"wyatt","name":null,"email":"wpreul@gmail.com","url":null,"packages_count":187,"html_url":"https://www.npmjs.com/~wyatt","role":null,"created_at":"2022-11-10T10:53:05.601Z","updated_at":"2022-11-10T10:53:05.601Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/wyatt/packages"},{"uuid":"lloydbenson","login":"lloydbenson","name":null,"email":"lloyd.benson@gmail.com","url":null,"packages_count":111,"html_url":"https://www.npmjs.com/~lloydbenson","role":null,"created_at":"2022-11-10T10:53:05.608Z","updated_at":"2022-11-10T10:53:05.608Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/lloydbenson/packages"},{"uuid":"cjihrig","login":"cjihrig","name":null,"email":"cjihrig@gmail.com","url":null,"packages_count":174,"html_url":"https://www.npmjs.com/~cjihrig","role":null,"created_at":"2023-01-15T17:34:52.229Z","updated_at":"2023-01-15T17:34:52.229Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/cjihrig/packages"}]}