{"id":1337548,"name":"@types/xdg-basedir","ecosystem":"npm","description":"Stub TypeScript definitions entry for xdg-basedir, which provides its own types definitions","homepage":null,"licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/sindresorhus/xdg-basedir","keywords_array":[],"namespace":"types","versions_count":2,"first_release_published_at":"2017-02-10T22:09:55.460Z","latest_release_published_at":"2019-07-17T18:42:21.062Z","latest_release_number":"4.0.2","last_synced_at":"2026-10-11T23:01:48.076Z","created_at":"2022-04-08T21:30:07.885Z","updated_at":"2026-10-11T23:01:48.076Z","registry_url":"https://www.npmjs.com/package/@types/xdg-basedir","install_command":"npm install @types/xdg-basedir","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"4.0.2","ts2.0":"2.0.0","ts2.1":"2.0.0","ts2.2":"2.0.0","ts2.3":"2.0.0","ts2.4":"2.0.0","ts2.5":"2.0.0","ts2.6":"2.0.0","ts2.7":"2.0.0","ts2.8":"2.0.0","ts2.9":"2.0.0","ts3.0":"2.0.0","ts3.1":"2.0.0","ts3.2":"2.0.0","ts3.3":"2.0.0","ts3.4":"2.0.0","ts3.5":"2.0.0","ts3.6":"2.0.0"},"contentPolicy":null},"repo_metadata":{"id":21525833,"uuid":"24845067","full_name":"sindresorhus/xdg-basedir","owner":"sindresorhus","description":"Get XDG Base Directory paths","archived":false,"fork":false,"pushed_at":"2026-09-18T19:18:07.000Z","size":23,"stargazers_count":94,"open_issues_count":0,"forks_count":10,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-10-01T23:47:03.091Z","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":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/security.md","support":null},"funding":{"github":"sindresorhus","open_collective":"sindresorhus","custom":"https://sindresorhus.com/donate"}},"created_at":"2014-10-06T12:35:44.000Z","updated_at":"2026-09-18T19:18:11.000Z","dependencies_parsed_at":"2022-08-17T17:25:08.102Z","dependency_job_id":null,"html_url":"https://github.com/sindresorhus/xdg-basedir","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/sindresorhus/xdg-basedir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/xdg-basedir/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/sbom","scorecard":{"id":826947,"data":{"date":"2025-08-11","repo":{"name":"github.com/sindresorhus/xdg-basedir","commit":"8cceade858e4da18cb971bf1844f086e9e213563"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: .github/security.md:1","Info: Found linked content: .github/security.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: .github/security.md:1","Info: Found text in security policy: .github/security.md:1"],"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":"Code-Review","score":1,"reason":"Found 4/27 approved changesets -- score normalized to 1","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Info: no jobLevel write permissions found"],"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/sindresorhus/xdg-basedir/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/sindresorhus/xdg-basedir/main.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/main.yml:21","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"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":"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 'main'"],"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 4 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-23T16:47:59.470Z","repository_id":21525833,"created_at":"2025-08-23T16:47:59.470Z","updated_at":"2025-08-23T16:47:59.470Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343170754,"owners_count":38030389,"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-05T02:00:06.766Z","response_time":83,"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":"sindresorhus","name":"Sindre Sorhus","uuid":"170270","kind":"user","description":"Full-Time Open-Sourcerer. Focused on Swift \u0026 JavaScript. Makes macOS apps, CLI tools, npm packages.","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":1111,"last_synced_at":"2024-10-29T21:14:09.635Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/sindresorhus","funding_links":["https://github.com/sponsors/sindresorhus"],"total_stars":852379,"followers":69513,"following":31,"created_at":"2022-11-02T16:18:52.881Z","updated_at":"2024-10-29T21:14:09.636Z","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":"v5.1.0","sha":"8cceade858e4da18cb971bf1844f086e9e213563","kind":"tag","published_at":"2021-08-05T17:10:15.000Z","download_url":"https://codeload.github.com/sindresorhus/xdg-basedir/tar.gz/v5.1.0","html_url":"https://github.com/sindresorhus/xdg-basedir/releases/tag/v5.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/xdg-basedir@v5.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/tags/v5.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/tags/v5.1.0/manifests"},{"name":"v5.0.1","sha":"3fc64a8f2476dd22b5a70a0f5978076e05c9dc49","kind":"tag","published_at":"2021-04-05T08:29:47.000Z","download_url":"https://codeload.github.com/sindresorhus/xdg-basedir/tar.gz/v5.0.1","html_url":"https://github.com/sindresorhus/xdg-basedir/releases/tag/v5.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/xdg-basedir@v5.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/tags/v5.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/tags/v5.0.1/manifests"},{"name":"v5.0.0","sha":"47109e5e93484fe9e07c4ed19a9458baf8b9c845","kind":"tag","published_at":"2021-04-05T07:48:12.000Z","download_url":"https://codeload.github.com/sindresorhus/xdg-basedir/tar.gz/v5.0.0","html_url":"https://github.com/sindresorhus/xdg-basedir/releases/tag/v5.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/xdg-basedir@v5.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/tags/v5.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/tags/v5.0.0/manifests"},{"name":"v4.0.0","sha":"bc65ded91e797cbdedbe3e5e1a2882372e3ba983","kind":"tag","published_at":"2019-04-30T04:00:51.000Z","download_url":"https://codeload.github.com/sindresorhus/xdg-basedir/tar.gz/v4.0.0","html_url":"https://github.com/sindresorhus/xdg-basedir/releases/tag/v4.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/xdg-basedir@v4.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/tags/v4.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/tags/v4.0.0/manifests"},{"name":"v3.0.0","sha":"d441833e9dad9694b04495905ab8fe484e3b8b99","kind":"tag","published_at":"2017-02-13T09:32:21.000Z","download_url":"https://codeload.github.com/sindresorhus/xdg-basedir/tar.gz/v3.0.0","html_url":"https://github.com/sindresorhus/xdg-basedir/releases/tag/v3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/xdg-basedir@v3.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/tags/v3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/tags/v3.0.0/manifests"},{"name":"2.0.0","sha":"0ad9e461ca531fcc1532c66932df386739aeffb2","kind":"tag","published_at":"2015-06-13T12:47:06.000Z","download_url":"https://codeload.github.com/sindresorhus/xdg-basedir/tar.gz/2.0.0","html_url":"https://github.com/sindresorhus/xdg-basedir/releases/tag/2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/xdg-basedir@2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/tags/2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/tags/2.0.0/manifests"},{"name":"v1.0.1","sha":"2eaf176e5d0c9c1bd64e6fc8a60a3a8e3dba4e79","kind":"tag","published_at":"2015-01-13T17:54:48.000Z","download_url":"https://codeload.github.com/sindresorhus/xdg-basedir/tar.gz/v1.0.1","html_url":"https://github.com/sindresorhus/xdg-basedir/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/xdg-basedir@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"8116a2fd05718de88b740861764739dc1879916f","kind":"tag","published_at":"2014-10-06T12:41:37.000Z","download_url":"https://codeload.github.com/sindresorhus/xdg-basedir/tar.gz/v1.0.0","html_url":"https://github.com/sindresorhus/xdg-basedir/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sindresorhus/xdg-basedir@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fxdg-basedir/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-10-09T19:46:15.901Z","dependent_packages_count":13,"downloads":23258,"downloads_period":"last-month","dependent_repos_count":542,"rankings":{"downloads":2.1780295600733903,"dependent_repos_count":0.7410524923623707,"dependent_packages_count":1.6674475587966937,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":1.5288432037441515},"purl":"pkg:npm/%40types/xdg-basedir","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@types/xdg-basedir","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@types/xdg-basedir","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@types/xdg-basedir/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":"2026-10-09T16:31:13.959Z","issues_count":1,"pull_requests_count":5,"avg_time_to_close_issue":35096.0,"avg_time_to_close_pull_request":439624.6,"issues_closed_count":1,"pull_requests_closed_count":5,"pull_request_authors_count":5,"issue_authors_count":1,"avg_comments_per_issue":1.0,"avg_comments_per_pull_request":1.6,"merged_pull_requests_count":4,"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%2Fxdg-basedir/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@types%2Fxdg-basedir/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@types%2Fxdg-basedir/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@types%2Fxdg-basedir/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@types%2Fxdg-basedir/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@types%2Fxdg-basedir/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@types%2Fxdg-basedir/codemeta","maintainers":[{"uuid":"types","login":"types","name":null,"email":"ts-npm-types@microsoft.com","url":null,"packages_count":11422,"html_url":"https://www.npmjs.com/~types","role":null,"created_at":"2022-11-11T04:11:32.676Z","updated_at":"2022-11-11T04:11:32.676Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/types/packages"}]}