{"id":15616687,"url":"https://github.com/justjavac/deno_data_local_dir","last_synced_at":"2026-04-29T18:33:22.027Z","repository":{"id":62421637,"uuid":"288747901","full_name":"justjavac/deno_data_local_dir","owner":"justjavac","description":"Returns the path to the user's local data directory.","archived":false,"fork":false,"pushed_at":"2020-08-19T14:10:32.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T10:33:43.944Z","etag":null,"topics":["deno","deno-module","deno-starter","directory"],"latest_commit_sha":null,"homepage":"","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":"CHANGELOG.md","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-19T14:03:40.000Z","updated_at":"2021-02-25T11:13:13.000Z","dependencies_parsed_at":"2022-11-01T17:32:33.071Z","dependency_job_id":null,"html_url":"https://github.com/justjavac/deno_data_local_dir","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"justjavac/deno_starter","purl":"pkg:github/justjavac/deno_data_local_dir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdeno_data_local_dir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdeno_data_local_dir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdeno_data_local_dir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdeno_data_local_dir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justjavac","download_url":"https://codeload.github.com/justjavac/deno_data_local_dir/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdeno_data_local_dir/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32439179,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T18:12:22.909Z","status":"ssl_error","status_checked_at":"2026-04-29T18:11:33.322Z","response_time":110,"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":["deno","deno-module","deno-starter","directory"],"created_at":"2024-10-03T07:20:57.400Z","updated_at":"2026-04-29T18:33:22.009Z","avatar_url":"https://github.com/justjavac.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deno_data_local_dir\n\n[![tag](https://img.shields.io/github/release/justjavac/deno_data_local_dir)](https://github.com/justjavac/deno_data_local_dir/releases)\n[![Build Status](https://github.com/justjavac/deno_data_local_dir/workflows/ci/badge.svg?branch=master)](https://github.com/justjavac/deno_data_local_dir/actions)\n[![license](https://img.shields.io/github/license/justjavac/deno_data_local_dir)](https://github.com/justjavac/deno_data_local_dir/blob/master/LICENSE)\n\n\u003e _In v1.1.2(2020.06.26), Deno [Remove `Deno.dir` and dirs dependency #6385](https://github.com/denoland/deno/pull/6385)_\n\nReturns the path to the user's local 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 | `{FOLDERID_LocalAppData}`                | C:\\Users\\justjavac\\AppData\\Local             |\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 dataLocalDir from \"https://deno.land/x/data_local_dir/mod.ts\";\n\ndataLocalDir();\n// Lin: \"/home/justjavac/.local/share\"\n// Mac: \"/Users/justjavac/Library/Application Support\"\n// Win: \"C:\\Users\\justjavac\\AppData\\Local\"\n```\n\n## License\n\n[deno_data_local_dir](https://github.com/justjavac/deno_data_local_dir) is released under the 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_local_dir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustjavac%2Fdeno_data_local_dir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustjavac%2Fdeno_data_local_dir/lists"}