{"id":2026763,"name":"module-details-from-path","ecosystem":"npm","description":"Resolve npm package details, like name and base path, given an absolute path to a file inside a package","homepage":"https://github.com/watson/module-details-from-path#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/watson/module-details-from-path","keywords_array":["node","nodejs","npm","module","package","extract","parse","name","basedir","directory","path","relative"],"namespace":null,"versions_count":5,"first_release_published_at":"2016-02-09T10:33:09.711Z","latest_release_published_at":"2025-04-29T16:59:53.775Z","latest_release_number":"1.0.4","latest_published_release_number":"1.0.4","last_synced_at":"2026-10-20T22:35:30.640Z","created_at":"2022-04-09T19:48:03.488Z","updated_at":"2026-10-20T22:35:30.640Z","registry_url":"https://www.npmjs.com/package/module-details-from-path","install_command":"npm install module-details-from-path","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.4"},"contentPolicy":null},"repo_metadata":{"id":57300710,"uuid":"51359994","full_name":"watson/module-details-from-path","owner":"watson","description":"Resolve npm package details, like name and base path, given an absolute path to a file inside a package","archived":false,"fork":false,"pushed_at":"2025-04-29T16:59:28.000Z","size":16,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-07-28T11:22:31.884Z","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/watson.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-02-09T10:27:13.000Z","updated_at":"2026-01-11T01:02:41.000Z","dependencies_parsed_at":"2025-05-07T08:43:17.387Z","dependency_job_id":null,"html_url":"https://github.com/watson/module-details-from-path","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/watson/module-details-from-path","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fmodule-details-from-path","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fmodule-details-from-path/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fmodule-details-from-path/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fmodule-details-from-path/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/watson","download_url":"https://codeload.github.com/watson/module-details-from-path/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fmodule-details-from-path/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36071354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-30T02:00:05.956Z","response_time":106,"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":"watson","name":"Thomas Watson","uuid":"10602","kind":"user","description":"Computer programmer, Node.js Core member, open source hacker working at @DataDog, formerly Tech Lead at @elastic + @opbeat","email":"w@tson.dk","website":"https://wa.tson.dk","location":"Copenhagen, Denmark","twitter":"wa7son","company":"@DataDog ","icon_url":"https://avatars.githubusercontent.com/u/10602?u=db5ed2609265b8711d8d5eda2dc173b0e8c28295\u0026v=4","repositories_count":400,"last_synced_at":"2026-10-19T09:44:23.496Z","metadata":{"has_sponsors_listing":true,"funding":null},"html_url":"https://github.com/watson","funding_links":["https://github.com/sponsors/watson"],"total_stars":10932,"followers":1978,"following":71,"created_at":"2022-11-02T16:20:49.026Z","updated_at":"2026-10-19T09:44:23.505Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/watson","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/watson/repositories"},"tags":[{"name":"v1.0.4","sha":"a7df269d5eb0803bb26ab61cb486f7c1fb4fad9c","kind":"tag","published_at":"2025-04-29T16:58:37.000Z","download_url":"https://codeload.github.com/watson/module-details-from-path/tar.gz/v1.0.4","html_url":"https://github.com/watson/module-details-from-path/releases/tag/v1.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/watson/module-details-from-path@v1.0.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fmodule-details-from-path/tags/v1.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fmodule-details-from-path/tags/v1.0.4/manifests"},{"name":"v1.0.3","sha":"6b231a35fae6b7f5b6b12b55fbb75fd4913afe5a","kind":"commit","published_at":"2016-07-09T14:20:28.000Z","download_url":"https://codeload.github.com/watson/module-details-from-path/tar.gz/v1.0.3","html_url":"https://github.com/watson/module-details-from-path/releases/tag/v1.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/watson/module-details-from-path@v1.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fmodule-details-from-path/tags/v1.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fmodule-details-from-path/tags/v1.0.3/manifests"},{"name":"v1.0.2","sha":"825df40c839530ac374bb416f354bd2613ed0130","kind":"commit","published_at":"2016-02-09T12:07:28.000Z","download_url":"https://codeload.github.com/watson/module-details-from-path/tar.gz/v1.0.2","html_url":"https://github.com/watson/module-details-from-path/releases/tag/v1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/watson/module-details-from-path@v1.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fmodule-details-from-path/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fmodule-details-from-path/tags/v1.0.2/manifests"},{"name":"v1.0.1","sha":"6664b90a43bf1beb9e4770992ac13d17ed5a66f5","kind":"commit","published_at":"2016-02-09T10:55:35.000Z","download_url":"https://codeload.github.com/watson/module-details-from-path/tar.gz/v1.0.1","html_url":"https://github.com/watson/module-details-from-path/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/watson/module-details-from-path@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fmodule-details-from-path/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fmodule-details-from-path/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"275d823a5905e659dec5f5bdde225ccd0c5d5da3","kind":"commit","published_at":"2016-02-09T10:32:50.000Z","download_url":"https://codeload.github.com/watson/module-details-from-path/tar.gz/v1.0.0","html_url":"https://github.com/watson/module-details-from-path/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/watson/module-details-from-path@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fmodule-details-from-path/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fmodule-details-from-path/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-10-19T19:44:36.213Z","dependent_packages_count":47,"downloads":209573064,"downloads_period":"last-month","dependent_repos_count":25134,"rankings":{"downloads":0.05426681751126133,"dependent_repos_count":0.17520351425558084,"dependent_packages_count":0.6106524532468788,"stargazers_count":10.695713385700005,"forks_count":9.661275851013178,"docker_downloads_count":0.11072402119855741,"average":3.5513060071542437},"purl":"pkg:npm/module-details-from-path","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/module-details-from-path","docker_dependents_count":2307,"docker_downloads_count":915189331,"usage_url":"https://repos.ecosyste.ms/usage/npm/module-details-from-path","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/module-details-from-path/dependencies","status":null,"funding_links":["https://github.com/sponsors/watson"],"critical":true,"issue_metadata":{"last_synced_at":"2026-10-18T16:06:43.959Z","issues_count":1,"pull_requests_count":8,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":19400.375,"issues_closed_count":0,"pull_requests_closed_count":8,"pull_request_authors_count":3,"issue_authors_count":1,"avg_comments_per_issue":0.0,"avg_comments_per_pull_request":1.0,"merged_pull_requests_count":8,"bot_issues_count":0,"bot_pull_requests_count":0,"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/watson%2Fmodule-details-from-path/issues","maintainers":[{"login":"watson","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/watson"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/module-details-from-path/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/module-details-from-path/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/module-details-from-path/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/module-details-from-path/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/module-details-from-path/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/module-details-from-path/codemeta","maintainers":[{"uuid":"watson","login":"watson","name":null,"email":"w@tson.dk","url":null,"packages_count":243,"html_url":"https://www.npmjs.com/~watson","role":null,"created_at":"2022-11-13T08:07:50.429Z","updated_at":"2022-11-13T08:07:50.429Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/watson/packages"}]}