{"id":17175874,"url":"https://github.com/sc0vu/config","last_synced_at":"2026-05-09T07:02:03.783Z","repository":{"id":81623666,"uuid":"104429453","full_name":"sc0Vu/config","owner":"sc0Vu","description":"Nodejs simple yaml config.","archived":false,"fork":false,"pushed_at":"2018-03-12T06:33:11.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-03T23:36:00.136Z","etag":null,"topics":["config","nodejs","yaml","yarn"],"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/sc0Vu.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}},"created_at":"2017-09-22T03:56:22.000Z","updated_at":"2018-03-11T14:54:47.000Z","dependencies_parsed_at":"2023-06-01T06:08:42.220Z","dependency_job_id":null,"html_url":"https://github.com/sc0Vu/config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sc0Vu/config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sc0Vu%2Fconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sc0Vu%2Fconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sc0Vu%2Fconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sc0Vu%2Fconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sc0Vu","download_url":"https://codeload.github.com/sc0Vu/config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sc0Vu%2Fconfig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32810381,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["config","nodejs","yaml","yarn"],"created_at":"2024-10-14T23:57:59.556Z","updated_at":"2026-05-09T07:02:03.768Z","avatar_url":"https://github.com/sc0Vu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple yaml config\n[![Build Status](https://travis-ci.org/sc0Vu/config.svg?branch=master)](https://travis-ci.org/sc0Vu/config)\n[![codecov](https://codecov.io/gh/sc0Vu/config/branch/master/graph/badge.svg)](https://codecov.io/gh/sc0Vu/config)\n\nNodejs Simple yaml config.\n\n# Install\n```\nnpm install simple-yaml-config\n```\n\n# Usage\n1. load config\n```\nconst Config = require('simple-yaml-config')\nlet config = new Config()\n\nconfig.load('resource uri', options).then((loadedData) =\u003e {\n  // do something after config was loaded\n}).catch((err) =\u003e {\n  // do something when error was occured\n})\n```\n\n2. save config\n```\nconst Config = require('simple-yaml-config')\nlet config = new Config({\n  version: 1\n})\n\nconfig.save('file name', options).then(() =\u003e {\n  // do something after config was saved\n}).catch((err) =\u003e {\n  // do something when error was occured\n})\n```\n\n# Test\n```\nnpm test\n```\n\n# License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsc0vu%2Fconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsc0vu%2Fconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsc0vu%2Fconfig/lists"}