{"id":2458433,"name":"this","ecosystem":"npm","description":"Traverses up the directory tree and returns the first module found","homepage":"https://github.com/lukechilds/this","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/lukechilds/this","keywords_array":["find","require","root","current","module"],"namespace":null,"versions_count":9,"first_release_published_at":"2013-02-14T09:43:17.462Z","latest_release_published_at":"2019-10-08T09:45:39.201Z","latest_release_number":"1.1.0","last_synced_at":"2026-10-09T02:21:12.566Z","created_at":"2022-04-10T02:05:26.974Z","updated_at":"2026-10-09T02:21:14.264Z","registry_url":"https://www.npmjs.com/package/this","install_command":"npm install this","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.1.0"},"contentPolicy":null},"repo_metadata":{"id":57250409,"uuid":"97693147","full_name":"lukechilds/this","owner":"lukechilds","description":"Traverses up the directory tree and returns the first module found","archived":false,"fork":false,"pushed_at":"2019-10-10T23:38:57.000Z","size":28,"stargazers_count":6,"open_issues_count":6,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-09-25T05:57:59.334Z","etag":null,"topics":["module","package","require","test","test-utilities","test-utils","testing","testing-tools"],"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/lukechilds.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":"2017-07-19T08:36:10.000Z","updated_at":"2024-12-06T22:24:55.000Z","dependencies_parsed_at":"2022-08-24T16:51:40.950Z","dependency_job_id":null,"html_url":"https://github.com/lukechilds/this","commit_stats":null,"previous_names":["lukechilds/get-root-module"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/lukechilds/this","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukechilds","download_url":"https://codeload.github.com/lukechilds/this/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/sbom","scorecard":{"id":604383,"data":{"date":"2025-08-11","repo":{"name":"github.com/lukechilds/this","commit":"b695a13c162ea1ef6c75162348261ec992cdf325"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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 2/23 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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 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-21T01:14:52.202Z","repository_id":57250409,"created_at":"2025-08-21T01:14:52.202Z","updated_at":"2025-08-21T01:14:52.202Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343170754,"owners_count":38133500,"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":"online","status_checked_at":"2026-10-09T02:00:07.585Z","response_time":55,"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":"lukechilds","name":"Luke Childs","uuid":"2123375","kind":"user","description":"Cofounder \u0026 CTO @getumbrel\r\n\r\nPreviously @bitcoinjs @browserify ","email":"mail@lu.ke","website":"https://lu.ke","location":"Thailand","twitter":"lukechilds","company":"@getumbrel","icon_url":"https://avatars.githubusercontent.com/u/2123375?v=4","repositories_count":225,"last_synced_at":"2026-10-01T22:53:12.407Z","metadata":{"has_sponsors_listing":true,"funding":null},"html_url":"https://github.com/lukechilds","funding_links":["https://github.com/sponsors/lukechilds"],"total_stars":12288,"followers":1786,"following":171,"created_at":"2022-11-02T16:48:33.080Z","updated_at":"2026-10-01T22:53:12.418Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukechilds","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukechilds/repositories"},"tags":[{"name":"v1.1.0","sha":"b695a13c162ea1ef6c75162348261ec992cdf325","kind":"tag","published_at":"2019-10-08T09:45:05.000Z","download_url":"https://codeload.github.com/lukechilds/this/tar.gz/v1.1.0","html_url":"https://github.com/lukechilds/this/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/lukechilds/this@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/tags/v1.1.0/manifests"},{"name":"v1.0.2","sha":"988c161af84f03358bee8fe4842ee90a0160c479","kind":"tag","published_at":"2017-07-28T15:29:25.000Z","download_url":"https://codeload.github.com/lukechilds/this/tar.gz/v1.0.2","html_url":"https://github.com/lukechilds/this/releases/tag/v1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/lukechilds/this@v1.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/tags/v1.0.2/manifests"},{"name":"v1.0.1","sha":"a86bcaf4ce46472c82f7b7f6b7b4fb13765d6992","kind":"tag","published_at":"2017-07-27T07:07:55.000Z","download_url":"https://codeload.github.com/lukechilds/this/tar.gz/v1.0.1","html_url":"https://github.com/lukechilds/this/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/lukechilds/this@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"3b46c32e87451d5cc333c82a9b1c1f0eec1cc8bc","kind":"tag","published_at":"2017-07-27T06:20:14.000Z","download_url":"https://codeload.github.com/lukechilds/this/tar.gz/v1.0.0","html_url":"https://github.com/lukechilds/this/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/lukechilds/this@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/tags/v1.0.0/manifests"},{"name":"v0.1.3","sha":"2e5da98ba8760dfe71c7f39184728634ffce14ac","kind":"tag","published_at":"2017-07-19T09:19:51.000Z","download_url":"https://codeload.github.com/lukechilds/this/tar.gz/v0.1.3","html_url":"https://github.com/lukechilds/this/releases/tag/v0.1.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/lukechilds/this@v0.1.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/tags/v0.1.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/tags/v0.1.3/manifests"},{"name":"v0.1.2","sha":"ad05711980dd82e263863cddbe74f207b86b1046","kind":"tag","published_at":"2017-07-19T09:15:06.000Z","download_url":"https://codeload.github.com/lukechilds/this/tar.gz/v0.1.2","html_url":"https://github.com/lukechilds/this/releases/tag/v0.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/lukechilds/this@v0.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/tags/v0.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/tags/v0.1.2/manifests"},{"name":"v0.1.1","sha":"78ca4c51223eabd01931b6db8612c94984ff10df","kind":"tag","published_at":"2017-07-19T09:10:34.000Z","download_url":"https://codeload.github.com/lukechilds/this/tar.gz/v0.1.1","html_url":"https://github.com/lukechilds/this/releases/tag/v0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/lukechilds/this@v0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/tags/v0.1.1/manifests"},{"name":"v0.1.0","sha":"f3a8d4cfd569feacbcb44976ead7511b08a3641b","kind":"tag","published_at":"2017-07-19T08:59:05.000Z","download_url":"https://codeload.github.com/lukechilds/this/tar.gz/v0.1.0","html_url":"https://github.com/lukechilds/this/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/lukechilds/this@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukechilds%2Fthis/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2026-10-09T02:21:14.263Z","dependent_packages_count":77,"downloads":2344,"downloads_period":"last-month","dependent_repos_count":16652,"rankings":{"downloads":4.893944106125641,"dependent_repos_count":0.2176632467205471,"dependent_packages_count":0.4249692213890408,"stargazers_count":10.73910340243981,"forks_count":10.146031201537923,"docker_downloads_count":null,"average":5.284342235642592},"purl":"pkg:npm/this","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/this","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/this","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/this/dependencies","status":null,"funding_links":["https://github.com/sponsors/lukechilds"],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-18T23:14:28.109Z","issues_count":3,"pull_requests_count":14,"avg_time_to_close_issue":21111.0,"avg_time_to_close_pull_request":324826.2,"issues_closed_count":1,"pull_requests_closed_count":10,"pull_request_authors_count":4,"issue_authors_count":3,"avg_comments_per_issue":0.3333333333333333,"avg_comments_per_pull_request":3.5714285714285716,"merged_pull_requests_count":9,"bot_issues_count":1,"bot_pull_requests_count":11,"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/lukechilds%2Fthis/issues","maintainers":[{"login":"lukechilds","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/lukechilds"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/this/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/this/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/this/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/this/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/this/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/this/codemeta","maintainers":[{"uuid":"lukechilds","login":"lukechilds","name":null,"email":"lukechilds123@gmail.com","url":null,"packages_count":87,"html_url":"https://www.npmjs.com/~lukechilds","role":null,"created_at":"2022-11-21T14:21:09.099Z","updated_at":"2022-11-21T14:21:09.099Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/lukechilds/packages"}]}