{"id":1009538,"name":"@jsumners/pre-commit","ecosystem":"npm","description":"Automatically install pre-commit hooks for your npm modules.","homepage":"https://github.com/observing/pre-commit","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/observing/pre-commit","keywords_array":["git","hooks","npm","pre-commit","precommit","run","test","development"],"namespace":"jsumners","versions_count":1,"first_release_published_at":"2018-04-02T01:40:37.580Z","latest_release_published_at":"2018-04-02T01:40:37.580Z","latest_release_number":"1.2.2-fork.1","last_synced_at":"2026-04-01T07:15:22.766Z","created_at":"2022-04-07T19:08:21.043Z","updated_at":"2026-04-01T10:03:56.579Z","registry_url":"https://www.npmjs.com/package/@jsumners/pre-commit","install_command":"npm install @jsumners/pre-commit","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.2.2-fork.1"}},"repo_metadata":{"id":7948866,"uuid":"9343284","full_name":"observing/pre-commit","owner":"observing","description":"Automatically installs a git pre-commit script in your git repository which runs your `npm test` on pre-commit","archived":false,"fork":false,"pushed_at":"2023-05-22T08:17:07.000Z","size":118,"stargazers_count":1884,"open_issues_count":78,"forks_count":149,"subscribers_count":14,"default_branch":"master","last_synced_at":"2026-03-08T13:02:49.175Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/observing.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.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}},"created_at":"2013-04-10T10:00:08.000Z","updated_at":"2026-02-20T21:49:12.000Z","dependencies_parsed_at":"2022-07-12T15:03:11.695Z","dependency_job_id":"114387ca-7b0c-452f-a962-1033e5279d99","html_url":"https://github.com/observing/pre-commit","commit_stats":{"total_commits":150,"total_committers":36,"mean_commits":4.166666666666667,"dds":"0.33333333333333337","last_synced_commit":"a84bdc87aabf79493343a366872ab204a62b1613"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/observing/pre-commit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/observing%2Fpre-commit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/observing%2Fpre-commit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/observing%2Fpre-commit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/observing%2Fpre-commit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/observing","download_url":"https://codeload.github.com/observing/pre-commit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/observing%2Fpre-commit/sbom","scorecard":{"id":701207,"data":{"date":"2025-08-11","repo":{"name":"github.com/observing/pre-commit","commit":"a84bdc87aabf79493343a366872ab204a62b1613"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"name":"Code-Review","score":5,"reason":"Found 14/25 approved changesets -- score normalized to 5","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":"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":"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":-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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: 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":"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":"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":"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":"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 19 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-22T05:15:04.867Z","repository_id":7948866,"created_at":"2025-08-22T05:15:04.867Z","updated_at":"2025-08-22T05:15:04.867Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30469307,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T11:00:43.441Z","status":"ssl_error","status_checked_at":"2026-03-13T11:00:23.173Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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-01T10:03:56.558Z","dependent_packages_count":1,"downloads":5,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":67.1478523871876,"dependent_repos_count":10.295976646711454,"dependent_packages_count":20.907756255897063,"stargazers_count":2.006076710696619,"forks_count":2.4731938494372,"docker_downloads_count":null,"average":20.566171169985985},"purl":"pkg:npm/%40jsumners/pre-commit","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@jsumners/pre-commit","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@jsumners/pre-commit","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@jsumners/pre-commit/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-11-19T15:22:40.546Z","issues_count":67,"pull_requests_count":41,"avg_time_to_close_issue":12261887.818181818,"avg_time_to_close_pull_request":45307508.15384615,"issues_closed_count":11,"pull_requests_closed_count":26,"pull_request_authors_count":26,"issue_authors_count":67,"avg_comments_per_issue":3.8507462686567164,"avg_comments_per_pull_request":3.707317073170732,"merged_pull_requests_count":12,"bot_issues_count":1,"bot_pull_requests_count":13,"past_year_issues_count":1,"past_year_pull_requests_count":2,"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":1,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":6.0,"past_year_avg_comments_per_pull_request":3.5,"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/observing%2Fpre-commit/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@jsumners%2Fpre-commit/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@jsumners%2Fpre-commit/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@jsumners%2Fpre-commit/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@jsumners%2Fpre-commit/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@jsumners%2Fpre-commit/codemeta","maintainers":[{"uuid":"jsumners","login":"jsumners","name":null,"email":"james.sumners@gmail.com","url":null,"packages_count":269,"html_url":"https://www.npmjs.com/~jsumners","role":null,"created_at":"2022-11-20T18:08:01.286Z","updated_at":"2022-11-20T18:08:01.286Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jsumners/packages"}]}