{"id":29585915,"url":"https://github.com/cuarti/zenox-config","last_synced_at":"2026-05-07T13:38:33.575Z","repository":{"id":57170537,"uuid":"86005356","full_name":"cuarti/zenox-config","owner":"cuarti","description":"Config engine for Zenox Framework","archived":false,"fork":false,"pushed_at":"2018-10-16T23:04:01.000Z","size":111,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T17:55:16.722Z","etag":null,"topics":["config","javascript","nodejs","typescript","zenox","zenox-framework"],"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/cuarti.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":"2017-03-23T22:57:58.000Z","updated_at":"2018-10-16T23:01:29.000Z","dependencies_parsed_at":"2022-08-27T13:20:18.191Z","dependency_job_id":null,"html_url":"https://github.com/cuarti/zenox-config","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/cuarti/zenox-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuarti%2Fzenox-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuarti%2Fzenox-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuarti%2Fzenox-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuarti%2Fzenox-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cuarti","download_url":"https://codeload.github.com/cuarti/zenox-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuarti%2Fzenox-config/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266058481,"owners_count":23870157,"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":["config","javascript","nodejs","typescript","zenox","zenox-framework"],"created_at":"2025-07-20T02:38:35.122Z","updated_at":"2026-05-07T13:38:28.541Z","avatar_url":"https://github.com/cuarti.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# zenox-config\nLibrary to load configuration data from YAML files depending of NODE_ENV value.\n\n\n### Default config from YAML files\nDefault config service that loads config from YAML files with path of one of next options:\n\n- ZENOX_CONFIG_DIR env variable.\n- ZENOX_PROJECT_DIR env variable plus \"config\" child. \n- Current working directory plus \"config\" child.\n\n###### Usage\n```typescript\nimport {Config} from '@zenox/config';\n\nlet port = Config.get('http.port');\n```\n\n\n### Custom config from object literal\nCustom config service that loads config from object literal. \n\n###### Usage\n```typescript\nimport {ConfigService} from '@zenox/config';\n\nlet config = new ConfigService({http: {port: 3000}});\nlet port = config.get('http.port');\n```\n\n\n### Custom config from YAML files\nCustom config service that loads config from path of directory with YAML files.\n\n###### Usage\n```typescript\nimport {ConfigService} from '@zenox/config';\n\nlet path = '\u003crelative path to config dir\u003e';\nlet config = ConfigService.fromYaml(path);\nlet port = config.get('http.port');\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuarti%2Fzenox-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuarti%2Fzenox-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuarti%2Fzenox-config/lists"}