{"id":945224,"name":"@folder/xdg","ecosystem":"npm","description":"Get cross-platform XDG Base Directories or their equivalents. Works with Linux, Windows (win32), or MacOS (darwin).","homepage":"https://github.com/folder/xdg","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/folder/xdg","keywords_array":["base","basedir","cache","config","data","dir","directories","directory","dirname","dot","file path","file paths","file","filepath","filepaths","files","find","folder","global","home","linux","path","paths","rc","runtime","spec","unix","user","win32","windows","xd","xdg-basedir-spec","xdg-basedir","xdg-basedirs","xdg"],"namespace":"folder","versions_count":11,"first_release_published_at":"2019-07-03T12:21:49.217Z","latest_release_published_at":"2023-08-03T03:13:13.925Z","latest_release_number":"4.0.1","last_synced_at":"2026-03-28T22:48:19.235Z","created_at":"2022-04-07T17:30:05.455Z","updated_at":"2026-03-28T22:48:19.235Z","registry_url":"https://www.npmjs.com/package/@folder/xdg","install_command":"npm install @folder/xdg","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"4.0.1"}},"repo_metadata":{"id":35112748,"uuid":"195047837","full_name":"folder/xdg","owner":"folder","description":"Get cross-platform XDG Base Directories or their equivalents. Works with Linux, Windows, or MacOS.","archived":false,"fork":false,"pushed_at":"2024-04-30T10:21:51.000Z","size":60,"stargazers_count":68,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-15T22:03:27.734Z","etag":null,"topics":["basedir","folder","fs","home","homedir","javascript","jonschlinkert","node","nodejs","path","xdg","xdg-basedir"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/folder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-07-03T12:19:46.000Z","updated_at":"2025-08-07T12:33:49.000Z","dependencies_parsed_at":"2024-01-13T18:24:30.064Z","dependency_job_id":"ff8231d2-ccf7-4093-8702-e43c13cae968","html_url":"https://github.com/folder/xdg","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"76faa968a95021465bb7f4137282ea75ac56da2b"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/folder/xdg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/folder","download_url":"https://codeload.github.com/folder/xdg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/sbom","scorecard":{"id":406037,"data":{"date":"2025-08-11","repo":{"name":"github.com/folder/xdg","commit":"d4c60090ecb4140ed33423c6771558242b2a7b8e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"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":"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":"Code-Review","score":0,"reason":"Found 2/28 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":"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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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 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-18T21:17:18.038Z","repository_id":35112748,"created_at":"2025-08-18T21:17:18.039Z","updated_at":"2025-08-18T21:17:18.039Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276238407,"owners_count":25608422,"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","status":"online","status_checked_at":"2025-09-21T02:00:07.055Z","response_time":72,"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":"folder","name":"Folder","uuid":"37873596","kind":"organization","description":"Generic utilities for Node.js","email":null,"website":"https://github.com/jonschlinkert","location":null,"twitter":"jonschlinkert","company":null,"icon_url":"https://avatars.githubusercontent.com/u/37873596?v=4","repositories_count":3,"last_synced_at":"2023-03-02T23:20:38.589Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/folder","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-13T13:10:43.505Z","updated_at":"2023-03-02T23:20:38.596Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/folder","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/folder/repositories"},"tags":[{"name":"4.0.0","sha":"ff746ace040a283838e4ec2004ca899945e279ed","kind":"tag","published_at":"2023-07-25T00:42:28.000Z","download_url":"https://codeload.github.com/folder/xdg/tar.gz/4.0.0","html_url":"https://github.com/folder/xdg/releases/tag/4.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/folder/xdg@4.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/tags/4.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/tags/4.0.0/manifests"},{"name":"3.1.1","sha":"76faa968a95021465bb7f4137282ea75ac56da2b","kind":"commit","published_at":"2020-07-14T18:33:03.000Z","download_url":"https://codeload.github.com/folder/xdg/tar.gz/3.1.1","html_url":"https://github.com/folder/xdg/releases/tag/3.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/folder/xdg@3.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/tags/3.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/tags/3.1.1/manifests"},{"name":"3.1.0","sha":"dcc6e96a12a3180ecf608025b5c11f268cabb28f","kind":"commit","published_at":"2020-07-14T05:16:40.000Z","download_url":"https://codeload.github.com/folder/xdg/tar.gz/3.1.0","html_url":"https://github.com/folder/xdg/releases/tag/3.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/folder/xdg@3.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/tags/3.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/tags/3.1.0/manifests"},{"name":"3.0.0","sha":"71239ac5752b64b71085d1d5677f2fa715740026","kind":"commit","published_at":"2020-07-14T02:55:56.000Z","download_url":"https://codeload.github.com/folder/xdg/tar.gz/3.0.0","html_url":"https://github.com/folder/xdg/releases/tag/3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/folder/xdg@3.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/tags/3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/tags/3.0.0/manifests"},{"name":"2.1.1","sha":"895bee2ce9599b1239ccfb318a4b33759fad7812","kind":"commit","published_at":"2019-09-13T09:25:35.000Z","download_url":"https://codeload.github.com/folder/xdg/tar.gz/2.1.1","html_url":"https://github.com/folder/xdg/releases/tag/2.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/folder/xdg@2.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/tags/2.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/tags/2.1.1/manifests"},{"name":"2.1.0","sha":"a718fc7d8a2c008685ce6d4e550e64045e6af293","kind":"commit","published_at":"2019-09-02T06:13:31.000Z","download_url":"https://codeload.github.com/folder/xdg/tar.gz/2.1.0","html_url":"https://github.com/folder/xdg/releases/tag/2.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/folder/xdg@2.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/tags/2.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/tags/2.1.0/manifests"},{"name":"2.0.1","sha":"57d7aaa5ed3e1b0e7977c787acc2a3c124403772","kind":"commit","published_at":"2019-08-12T16:21:45.000Z","download_url":"https://codeload.github.com/folder/xdg/tar.gz/2.0.1","html_url":"https://github.com/folder/xdg/releases/tag/2.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/folder/xdg@2.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/tags/2.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/tags/2.0.1/manifests"},{"name":"2.0","sha":"d27be68169d62acaf59cdec1bc444193853d934a","kind":"commit","published_at":"2019-08-12T16:13:46.000Z","download_url":"https://codeload.github.com/folder/xdg/tar.gz/2.0","html_url":"https://github.com/folder/xdg/releases/tag/2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/folder/xdg@2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/tags/2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/folder%2Fxdg/tags/2.0/manifests"}]},"repo_metadata_updated_at":"2025-10-28T11:19:33.369Z","dependent_packages_count":11,"downloads":42057,"downloads_period":"last-month","dependent_repos_count":13,"rankings":{"downloads":3.167399838962437,"dependent_repos_count":3.300680910484223,"dependent_packages_count":1.9104201851137486,"stargazers_count":5.968780166567212,"forks_count":8.874034756085912,"docker_downloads_count":null,"average":4.644263171442707},"purl":"pkg:npm/%40folder/xdg","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@folder/xdg","docker_dependents_count":1,"docker_downloads_count":379,"usage_url":"https://repos.ecosyste.ms/usage/npm/@folder/xdg","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@folder/xdg/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-15T21:37:28.622Z","issues_count":4,"pull_requests_count":5,"avg_time_to_close_issue":30420103.333333332,"avg_time_to_close_pull_request":22963951.0,"issues_closed_count":3,"pull_requests_closed_count":4,"pull_request_authors_count":4,"issue_authors_count":4,"avg_comments_per_issue":1.25,"avg_comments_per_pull_request":1.8,"merged_pull_requests_count":2,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":1,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":205201.0,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":0.0,"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/folder%2Fxdg/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@folder%2Fxdg/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@folder%2Fxdg/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@folder%2Fxdg/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@folder%2Fxdg/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@folder%2Fxdg/codemeta","maintainers":[{"uuid":"doowb","login":"doowb","name":null,"email":"brian.woodward@gmail.com","url":null,"packages_count":815,"html_url":"https://www.npmjs.com/~doowb","role":null,"created_at":"2022-11-20T15:49:19.223Z","updated_at":"2022-11-20T15:49:19.223Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/doowb/packages"},{"uuid":"jonschlinkert","login":"jonschlinkert","name":null,"email":"github@sellside.com","url":null,"packages_count":1547,"html_url":"https://www.npmjs.com/~jonschlinkert","role":null,"created_at":"2022-11-20T15:49:19.250Z","updated_at":"2022-11-20T15:49:19.250Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jonschlinkert/packages"}]}