{"id":1817206,"name":"has-require","ecosystem":"npm","description":"Check if code requires any module or a specific id","homepage":"https://github.com/bendrucker/has-require","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/bendrucker/has-require","keywords_array":["require","browserify"],"namespace":null,"versions_count":5,"first_release_published_at":"2015-01-13T14:47:05.432Z","latest_release_published_at":"2016-02-11T21:00:44.759Z","latest_release_number":"1.2.2","last_synced_at":"2026-10-04T00:29:37.546Z","created_at":"2022-04-09T16:58:24.492Z","updated_at":"2026-10-04T00:31:47.390Z","registry_url":"https://www.npmjs.com/package/has-require","install_command":"npm install has-require","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.2.2"},"contentPolicy":null},"repo_metadata":{"id":25754675,"uuid":"29192661","full_name":"bendrucker/has-require","owner":"bendrucker","description":"Check if a string of code requires a specified Node module by id","archived":false,"fork":false,"pushed_at":"2019-08-19T21:24:02.000Z","size":17,"stargazers_count":2,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-10-03T22:50:10.791Z","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/bendrucker.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":"2015-01-13T14:07:10.000Z","updated_at":"2019-07-12T17:24:33.000Z","dependencies_parsed_at":"2022-08-25T03:00:35.340Z","dependency_job_id":null,"html_url":"https://github.com/bendrucker/has-require","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/bendrucker/has-require","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fhas-require","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fhas-require/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fhas-require/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fhas-require/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bendrucker","download_url":"https://codeload.github.com/bendrucker/has-require/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fhas-require/sbom","scorecard":{"id":232033,"data":{"date":"2025-08-11","repo":{"name":"github.com/bendrucker/has-require","commit":"b79739fee9ff241e08b978b06f353e7cb124d837"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/21 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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 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-17T05:00:34.910Z","repository_id":25754675,"created_at":"2025-08-17T05:00:34.910Z","updated_at":"2025-08-17T05:00:34.910Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343072799,"owners_count":37987588,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"ssl_error","status_checked_at":"2026-10-03T21:59:58.217Z","response_time":59,"last_error":"SSL_read: 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"},"owner_record":{"login":"bendrucker","name":"Ben Drucker","uuid":"808808","kind":"user","description":"","email":"bvdrucker@gmail.com","website":"http://www.bendrucker.me","location":"San Francisco, CA","twitter":"bendrucker","company":null,"icon_url":"https://avatars.githubusercontent.com/u/808808?u=b5f986fef3fda93b4b8b970edadb5f3a631063cf\u0026v=4","repositories_count":762,"last_synced_at":"2026-10-03T14:50:00.849Z","metadata":{"has_sponsors_listing":false,"funding":null},"html_url":"https://github.com/bendrucker","funding_links":[],"total_stars":2789,"followers":514,"following":36,"created_at":"2022-11-02T16:18:59.349Z","updated_at":"2026-10-03T14:50:01.183Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bendrucker","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bendrucker/repositories"},"tags":[{"name":"v1.2.2","sha":"516d14cb9483bd21acc9d07c0fb8e132224788d8","kind":"tag","published_at":"2016-02-11T21:00:38.000Z","download_url":"https://codeload.github.com/bendrucker/has-require/tar.gz/v1.2.2","html_url":"https://github.com/bendrucker/has-require/releases/tag/v1.2.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/bendrucker/has-require@v1.2.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fhas-require/tags/v1.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fhas-require/tags/v1.2.2/manifests"},{"name":"v1.2.1","sha":"e4fae75bcfe633826de805cc3d7fc833151f25c0","kind":"tag","published_at":"2015-06-23T20:38:54.000Z","download_url":"https://codeload.github.com/bendrucker/has-require/tar.gz/v1.2.1","html_url":"https://github.com/bendrucker/has-require/releases/tag/v1.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/bendrucker/has-require@v1.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fhas-require/tags/v1.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fhas-require/tags/v1.2.1/manifests"},{"name":"v1.2.0","sha":"4501fd60a609f440b0ebf53b6dd737e31be435cb","kind":"tag","published_at":"2015-06-05T17:05:15.000Z","download_url":"https://codeload.github.com/bendrucker/has-require/tar.gz/v1.2.0","html_url":"https://github.com/bendrucker/has-require/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/bendrucker/has-require@v1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fhas-require/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fhas-require/tags/v1.2.0/manifests"},{"name":"v1.1.0","sha":"2d1da8f1fd6d06ba44b3b9695cfe3323909fbe76","kind":"tag","published_at":"2015-01-13T22:24:59.000Z","download_url":"https://codeload.github.com/bendrucker/has-require/tar.gz/v1.1.0","html_url":"https://github.com/bendrucker/has-require/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/bendrucker/has-require@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fhas-require/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fhas-require/tags/v1.1.0/manifests"},{"name":"v1.0.0","sha":"a9b0eb430fc3a7a0406fdf9fd31a622399dd7470","kind":"tag","published_at":"2015-01-13T14:43:22.000Z","download_url":"https://codeload.github.com/bendrucker/has-require/tar.gz/v1.0.0","html_url":"https://github.com/bendrucker/has-require/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/bendrucker/has-require@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fhas-require/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fhas-require/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-10-04T00:31:47.389Z","dependent_packages_count":14,"downloads":147011,"downloads_period":"last-month","dependent_repos_count":1795,"rankings":{"downloads":0.636219227675777,"dependent_repos_count":0.5030188776462069,"dependent_packages_count":1.5973466476704585,"stargazers_count":14.862813466289262,"forks_count":9.06959369305122,"docker_downloads_count":0.760699979871318,"average":4.5716153153673735},"purl":"pkg:npm/has-require","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/has-require","docker_dependents_count":37,"docker_downloads_count":18904098,"usage_url":"https://repos.ecosyste.ms/usage/npm/has-require","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/has-require/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-23T12:49:28.194Z","issues_count":2,"pull_requests_count":5,"avg_time_to_close_issue":17963.0,"avg_time_to_close_pull_request":36878.666666666664,"issues_closed_count":2,"pull_requests_closed_count":3,"pull_request_authors_count":2,"issue_authors_count":2,"avg_comments_per_issue":0.5,"avg_comments_per_pull_request":0.4,"merged_pull_requests_count":3,"bot_issues_count":1,"bot_pull_requests_count":4,"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/bendrucker%2Fhas-require/issues","maintainers":[{"login":"bendrucker","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/bendrucker"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/has-require/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/has-require/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/has-require/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/has-require/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/has-require/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/has-require/codemeta","maintainers":[{"uuid":"bendrucker","login":"bendrucker","name":null,"email":"bvdrucker@gmail.com","url":null,"packages_count":419,"html_url":"https://www.npmjs.com/~bendrucker","role":null,"created_at":"2022-11-12T16:08:05.979Z","updated_at":"2022-11-12T16:08:05.979Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/bendrucker/packages"}]}