{"id":16614628,"url":"https://github.com/hyperupcall/config","last_synced_at":"2025-09-20T09:08:02.626Z","repository":{"id":45338801,"uuid":"264195106","full_name":"hyperupcall/config","owner":"hyperupcall","description":"A deno module that helps you load configuration","archived":false,"fork":false,"pushed_at":"2023-12-01T09:38:14.000Z","size":78,"stargazers_count":6,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-09T10:40:39.302Z","etag":null,"topics":["deno"],"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/hyperupcall.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["hyperupcall"]}},"created_at":"2020-05-15T13:03:18.000Z","updated_at":"2025-02-19T19:20:32.000Z","dependencies_parsed_at":"2023-12-01T10:39:38.953Z","dependency_job_id":null,"html_url":"https://github.com/hyperupcall/config","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/hyperupcall/config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperupcall%2Fconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperupcall%2Fconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperupcall%2Fconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperupcall%2Fconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperupcall","download_url":"https://codeload.github.com/hyperupcall/config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperupcall%2Fconfig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276071130,"owners_count":25580223,"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-20T02:00:10.207Z","response_time":63,"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"}},"keywords":["deno"],"created_at":"2024-10-12T02:07:07.642Z","updated_at":"2025-09-20T09:08:02.571Z","avatar_url":"https://github.com/hyperupcall.png","language":"TypeScript","funding_links":["https://github.com/sponsors/hyperupcall"],"categories":[],"sub_categories":[],"readme":"# config\n\n![github ci](https://github.com/hyperupcall/config/workflows/Test%20CI/badge.svg?branch=master)\n![github badge](https://img.shields.io/github/license/hyperupcall/config)\n![gitHub issues](https://img.shields.io/github/issues/hyperupcall/config)\n\nA deno module that helps you load configuration.\n\n\u003e ⚠️ _Warning_ The examples in this README pull from `main`. you may want to \"pin\"\n\u003e to a particular version by using git tags in the URL to direct you at a particular\n\u003e version. For example, to use v1.3.2 of `hyperupcall/config`, you would want\n\u003e to import `https://deno.land/x/config@v1.3.0/mod.ts`.\n\n## Usage\n\n```ts\nimport { Config } from \"https://deno.land/x/config/mod.ts\"\n\n// Example\nconst config = await Config.load({\n  file: 'fileName'\n})\nif (!config) {\n  console.log(\"config is 'undefined' when no config files were found\")\n}\n\n// Example including defaults\nawait Config.load({\n  file: 'fileName',\n  searchDir: Deno.cwd()\n})\n```\n\n### Options\n\n- `file` the name of your file\n- `searchDir` the directory to start searching. this is the directory that might include a `.config` file\n\n### Priority\n\nThe ordering is as follows. Modules are loaded from `.config` folder first, then the parent to that folder. Rc files in `.config` never start with a dot.\n\n- `.config/file.config.ts`\n- `.config/file.config.js`\n- `.config/file.toml`\n- `.config/file.json`\n- `.config/file.yaml`\n- `.config/file.yml`\n- `file.config.ts`\n- `file.config.js`\n- `.file.toml`\n- `.file.json`\n- `.file.yaml`\n- `.file.yml`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperupcall%2Fconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperupcall%2Fconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperupcall%2Fconfig/lists"}