{"id":15941386,"url":"https://github.com/justjavac/deno_data_dir","last_synced_at":"2026-04-27T22:32:13.756Z","repository":{"id":39605597,"uuid":"288745072","full_name":"justjavac/deno_data_dir","owner":"justjavac","description":"Returns the path to the user's data directory.","archived":false,"fork":false,"pushed_at":"2022-07-25T14:33:08.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-10T03:09:56.139Z","etag":null,"topics":["data","deno","deno-module","deno-modules","directory"],"latest_commit_sha":null,"homepage":"https://deno.land/x/data_dir","language":"TypeScript","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/justjavac.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":"2020-08-19T13:52:30.000Z","updated_at":"2022-05-31T07:23:37.000Z","dependencies_parsed_at":"2022-09-20T06:00:48.325Z","dependency_job_id":null,"html_url":"https://github.com/justjavac/deno_data_dir","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":"justjavac/deno_starter","purl":"pkg:github/justjavac/deno_data_dir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdeno_data_dir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdeno_data_dir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdeno_data_dir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdeno_data_dir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justjavac","download_url":"https://codeload.github.com/justjavac/deno_data_dir/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdeno_data_dir/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32358509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"}},"keywords":["data","deno","deno-module","deno-modules","directory"],"created_at":"2024-10-07T07:03:35.437Z","updated_at":"2026-04-27T22:32:13.738Z","avatar_url":"https://github.com/justjavac.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deno_data_dir\n\n[![tag](https://img.shields.io/github/release/justjavac/deno_data_dir)](https://github.com/justjavac/deno_data_dir/releases)\n[![Build Status](https://github.com/justjavac/deno_data_dir/workflows/ci/badge.svg?branch=master)](https://github.com/justjavac/deno_data_dir/actions)\n[![license](https://img.shields.io/github/license/justjavac/deno_data_dir)](https://github.com/justjavac/deno_data_dir/blob/master/LICENSE)\n\n\u003e _In v1.1.2(2020.06.26), Deno\n\u003e [Remove `Deno.dir` and dirs dependency #6385](https://github.com/denoland/deno/pull/6385)_\n\nReturns the path to the user's data directory.\n\nThe returned value depends on the operating system and is either a string,\ncontaining a value from the following table, or `null`.\n\n| Platform | Value                                    | Example                                      |\n| -------- | ---------------------------------------- | -------------------------------------------- |\n| Linux    | `$XDG_DATA_HOME` or `$HOME`/.local/share | /home/justjavac/.local/share                 |\n| macOS    | `$HOME`/Library/Application Support      | /Users/justjavac/Library/Application Support |\n| Windows  | `$APPDATA`                               | C:\\Users\\justjavac\\AppData\\Roaming           |\n\n## Usage\n\nRequires `allow-env` permission.\n\nReturns `null` if there is no applicable directory or if any other error occurs.\n\n```ts\nimport dataDir from \"https://deno.land/x/data_dir/mod.ts\";\n\ndataDir();\n// Lin: \"/home/justjavac/.local/share\"\n// Mac: \"/Users/justjavac/Library/Application Support\"\n// Win: \"C:\\Users\\justjavac\\AppData\\Roaming\"\n```\n\n## License\n\n[deno_data_dir](https://github.com/justjavac/deno_data_dir) is released under\nthe MIT License. See the bundled [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustjavac%2Fdeno_data_dir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustjavac%2Fdeno_data_dir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustjavac%2Fdeno_data_dir/lists"}