{"id":2344364,"name":"self-path","ecosystem":"npm","description":"Get the path to this package - Useful for testing","homepage":"https://github.com/sindresorhus/self-path#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/sindresorhus/self-path","keywords_array":["cli-app","cli","path","testing","assert"],"namespace":null,"versions_count":3,"first_release_published_at":"2017-03-06T06:46:28.638Z","latest_release_published_at":"2026-05-06T07:28:38.123Z","latest_release_number":"3.0.0","last_synced_at":"2026-08-11T12:21:27.197Z","created_at":"2022-04-10T00:28:33.185Z","updated_at":"2026-08-11T12:21:27.198Z","registry_url":"https://www.npmjs.com/package/self-path","install_command":"npm install self-path","documentation_url":null,"metadata":{"funding":"https://github.com/sponsors/sindresorhus","dist-tags":{"latest":"3.0.0"},"contentPolicy":null},"repo_metadata":{"id":55420113,"uuid":"84038921","full_name":"sindresorhus/self-path","owner":"sindresorhus","description":"Get the path to this package - Useful for testing","archived":false,"fork":false,"pushed_at":"2021-08-09T20:31:43.000Z","size":6,"stargazers_count":21,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-04-14T04:55:15.419Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sindresorhus.png","metadata":{"funding":{"github":"sindresorhus","open_collective":"sindresorhus","custom":"https://sindresorhus.com/donate"}},"created_at":"2017-03-06T06:39:04.000Z","updated_at":"2023-01-20T15:30:44.000Z","dependencies_parsed_at":"2022-08-15T00:00:26.605Z","dependency_job_id":null,"html_url":"https://github.com/sindresorhus/self-path","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fself-path","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fself-path/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fself-path/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fself-path/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/self-path/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":216710120,"owners_count":16068147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"sindresorhus","name":"Sindre Sorhus","uuid":"170270","kind":"user","description":"Full-Time Open-Sourcerer. Focuses on Swift \u0026 JavaScript. Makes macOS apps, CLI tools, npm packages. Likes unicorns.","email":"","website":"https://sindresorhus.com/apps","location":null,"twitter":"sindresorhus","company":null,"icon_url":"https://avatars.githubusercontent.com/u/170270?u=34acd557a042ac478d273a4621570cadb6b0bd89\u0026v=4","repositories_count":1102,"last_synced_at":"2024-04-15T08:17:34.428Z","metadata":{"has_sponsors_listing":true,"funding":{"github":"sindresorhus","open_collective":"sindresorhus","buy_me_a_coffee":"sindresorhus","custom":"https://sindresorhus.com/donate"}},"html_url":"https://github.com/sindresorhus","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://buymeacoffee.com/sindresorhus","https://sindresorhus.com/donate"],"total_stars":804815,"followers":66084,"following":30,"created_at":"2022-11-02T16:18:52.881Z","updated_at":"2024-04-15T08:21:19.389Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus/repositories"},"tags":[{"name":"v2.0.0","sha":"6afd4e621d4f68f8a05ddef8385a7dbb74889316","kind":"tag","published_at":"2021-08-09T20:28:59.000Z","download_url":"https://codeload.github.com/sindresorhus/self-path/tar.gz/v2.0.0","html_url":"https://github.com/sindresorhus/self-path/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fself-path/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fself-path/tags/v2.0.0/manifests"},{"name":"v1.0.0","sha":"184134788646d75003bba7641034499b04442243","kind":"tag","published_at":"2017-03-06T06:46:24.000Z","download_url":"https://codeload.github.com/sindresorhus/self-path/tar.gz/v1.0.0","html_url":"https://github.com/sindresorhus/self-path/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fself-path/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fself-path/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2024-08-27T12:36:13.197Z","dependent_packages_count":1,"downloads":31,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":53.64922049467283,"dependent_repos_count":10.336075070876474,"dependent_packages_count":20.974713837819785,"stargazers_count":7.695676211532369,"forks_count":8.215917507459269,"docker_downloads_count":null,"average":20.174320624472145},"purl":"pkg:npm/self-path","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/self-path","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/self-path","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/self-path/dependencies","status":null,"funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://sindresorhus.com/donate"],"critical":null,"issue_metadata":{"last_synced_at":"2024-08-27T12:30:22.121Z","issues_count":1,"pull_requests_count":1,"avg_time_to_close_issue":139755238.0,"avg_time_to_close_pull_request":22582.0,"issues_closed_count":1,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":1,"avg_comments_per_issue":1.0,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":1,"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/sindresorhus%2Fself-path/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/self-path/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/self-path/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/self-path/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/self-path/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/self-path/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/self-path/codemeta","maintainers":[{"uuid":"sindresorhus","login":"sindresorhus","name":null,"email":"sindresorhus@gmail.com","url":null,"packages_count":1295,"html_url":"https://www.npmjs.com/~sindresorhus","role":null,"created_at":"2022-11-14T09:37:57.792Z","updated_at":"2022-11-14T09:37:57.792Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/sindresorhus/packages"}]}