{"id":32122024,"url":"https://github.com/jokingchicken/chickenconfig","last_synced_at":"2026-02-19T07:01:08.299Z","repository":{"id":62422741,"uuid":"467149486","full_name":"JokingChicken/ChickenConfig","owner":"JokingChicken","description":"handle json config in Deno","archived":false,"fork":false,"pushed_at":"2022-05-20T14:22:35.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T23:37:37.596Z","etag":null,"topics":["config","deno"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/JokingChicken.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}},"created_at":"2022-03-07T15:24:07.000Z","updated_at":"2022-05-20T14:11:20.000Z","dependencies_parsed_at":"2022-11-01T17:33:03.957Z","dependency_job_id":null,"html_url":"https://github.com/JokingChicken/ChickenConfig","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/JokingChicken/ChickenConfig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JokingChicken%2FChickenConfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JokingChicken%2FChickenConfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JokingChicken%2FChickenConfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JokingChicken%2FChickenConfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JokingChicken","download_url":"https://codeload.github.com/JokingChicken/ChickenConfig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JokingChicken%2FChickenConfig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29605796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"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":["config","deno"],"created_at":"2025-10-20T20:06:32.773Z","updated_at":"2026-02-19T07:01:08.293Z","avatar_url":"https://github.com/JokingChicken.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChickenConfig\n\nthis deno library will help you handle a json file for config purposes.\n\nmakes use of a default object, to make type-completion and type-checking possible\n\n---\n\n## Where to get:\n\nget it from deno: [https://deno.land/x/chickenconfig/mod.ts](https://deno.land/x/chickenconfig/mod.ts)\n\ndownload via import:\n\n```ts\nimport Config from \"https://deno.land/x/chickenconfig/mod.ts\";\n```\n\n---\n\n## Usage:\n\n```ts\nimport Config from \"https://deno.land/x/chickenconfig/mod.ts\";\n\n// checks for file, creates if does not exist\nconst config = Config.load(\n\t\t{\n\t\t\tfilename: \"config.json\",\n\t\t\tsearchDir: \"./examples/\"\n\t\t},\n\t\t{\n\t\t\t\"yourDefaultValue\": true\n\t\t}\n\t);\n\n\n// this reads the file; yourDefaultValue will be true, except when changed in file\n// if 'yourDefaultValue' is not the same type as default, it will be overwritten with the default\nvar configObject = config.read();\n\nconfigObject.yourDefaultValue = false;\n\n// writes the file; yourDefaultValue will be false\n// even if there is a different value in the file, it will only overwrite the default values\nconfig.write();\n\n```\n\nmore examples [here](./examples/example.ts)\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjokingchicken%2Fchickenconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjokingchicken%2Fchickenconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjokingchicken%2Fchickenconfig/lists"}