{"id":28823568,"url":"https://github.com/gcsboss/confort","last_synced_at":"2026-04-04T20:33:05.441Z","repository":{"id":57675450,"uuid":"199685418","full_name":"GCSBOSS/confort","owner":"GCSBOSS","description":"A library for incrementally build config objects through layering config files in many formats.","archived":false,"fork":false,"pushed_at":"2023-04-24T18:10:10.000Z","size":28,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-20T21:41:39.101Z","etag":null,"topics":["conf","deno","env","file","json","layer","nodejs","parse","toml","yaml"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/GCSBOSS.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":"2019-07-30T16:06:13.000Z","updated_at":"2021-01-18T13:02:18.000Z","dependencies_parsed_at":"2022-09-15T06:06:05.517Z","dependency_job_id":null,"html_url":"https://github.com/GCSBOSS/confort","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/GCSBOSS/confort","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GCSBOSS%2Fconfort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GCSBOSS%2Fconfort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GCSBOSS%2Fconfort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GCSBOSS%2Fconfort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GCSBOSS","download_url":"https://codeload.github.com/GCSBOSS/confort/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GCSBOSS%2Fconfort/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260654700,"owners_count":23042680,"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","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":["conf","deno","env","file","json","layer","nodejs","parse","toml","yaml"],"created_at":"2025-06-19T00:10:12.077Z","updated_at":"2025-12-30T22:30:04.173Z","avatar_url":"https://github.com/GCSBOSS.png","language":"JavaScript","readme":"# [Confort](https://gitlab.com/GCSBOSS/confort)\n\nA library for incrementaly build config objects through layering config files in many formats.\nCheck out the features:\n\n- Support native objects input directly\n- Load config files\n- Merge configs chronologically\n- Supported formats so far: TOML (`toml`), JSON and YAML (`yaml`)\n- Available in the Deno ecosystem (see directory `/deno`)\n\n## Get Started on NodeJS\n\nInstall with: `npm i -P confort`\n\n\u003e You also need to install the lib for parsing the type of file you mean to use like: `npm i toml` for parsing TOML\n\nIn your code:\n\n```js\nconst confort = require('confort');\n\n// Constructor Forms\nlet conf = confort(); // Empty conf object\nlet conf = confort({ key: 'value', key2: 'value2' }); // Initial conf from objects\nlet conf = confort('./my-file.toml'); // Initial conf from file\n\n// Adding incremental config layer\nlet c1 = confort(c1, { key: 'value' }); // =\u003e { key: 'value' }\nc1 = confort(c1, { key: 'newValue', otherKey: 'value' }); // =\u003e { key: 'newValue', otherKey: 'value' }\nc1 = confort(c1, './my-file.yml');\n```\n\n## Get Started on [Deno](https://deno.land/)\n\n```js\nimport confort from 'https://deno.land/x/confort@0.2.0/deno/main.js'\n\n// Constructor Forms\nlet conf = confort(); // Empty conf object\nlet conf = confort({ key: 'value', key2: 'value2' }); // Initial conf from objects\nlet conf = confort('./my-file.toml'); // Initial conf from file\n\n// Adding incremental config layer\nlet c1 = confort(c1, { key: 'value' }); // =\u003e { key: 'value' }\nc1 = confort(c1, { key: 'newValue', otherKey: 'value' }); // =\u003e { key: 'newValue', otherKey: 'value' }\nc1 = confort(c1, './my-file.yml');\n```\n\n## Reporting Bugs\nIf you have found any problems with this module, please:\n\n1. [Open an issue](https://gitlab.com/GCSBOSS/confort/issues/new).\n2. Describe what happened and how.\n3. Also in the issue text, reference the label `~bug`.\n\nWe will make sure to take a look when time allows us.\n\n## Proposing Features\nIf you wish to get that awesome feature or have some advice for us, please:\n1. [Open an issue](https://gitlab.com/GCSBOSS/confort/issues/new).\n2. Describe your ideas.\n3. Also in the issue text, reference the label `~proposal`.\n\n## Contributing\nIf you have spotted any enhancements to be made and is willing to get your hands\ndirty about it, fork us and\n[submit your merge request](https://gitlab.com/GCSBOSS/confort/merge_requests/new)\nso we can collaborate effectively.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgcsboss%2Fconfort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgcsboss%2Fconfort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgcsboss%2Fconfort/lists"}