{"id":13903225,"url":"https://github.com/gh-conf/gh-conf-write","last_synced_at":"2025-07-26T17:32:14.594Z","repository":{"id":40643771,"uuid":"167837107","full_name":"gh-conf/gh-conf-write","owner":"gh-conf","description":"Writes to gihub config file","archived":false,"fork":false,"pushed_at":"2024-04-19T23:01:02.000Z","size":34,"stargazers_count":100,"open_issues_count":1,"forks_count":27,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-11-25T11:40:02.895Z","etag":null,"topics":["config","gh-conf","gh-conf-write","github","github-config","github-config-write"],"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/gh-conf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2019-01-27T17:29:50.000Z","updated_at":"2024-11-16T14:27:17.000Z","dependencies_parsed_at":"2024-06-19T11:31:37.863Z","dependency_job_id":"0bacee29-0435-433e-bdba-09ff9cd1118b","html_url":"https://github.com/gh-conf/gh-conf-write","commit_stats":null,"previous_names":["arshadkazmi42/gh-conf-write"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh-conf%2Fgh-conf-write","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh-conf%2Fgh-conf-write/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh-conf%2Fgh-conf-write/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gh-conf%2Fgh-conf-write/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gh-conf","download_url":"https://codeload.github.com/gh-conf/gh-conf-write/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227700405,"owners_count":17806365,"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","gh-conf","gh-conf-write","github","github-config","github-config-write"],"created_at":"2024-08-06T22:01:53.263Z","updated_at":"2024-12-02T09:18:39.419Z","avatar_url":"https://github.com/gh-conf.png","language":"JavaScript","funding_links":["https://www.buymeacoffee.com/gh-conf","https://www.patreon.com/bePatron?u=15454240"],"categories":["github-config"],"sub_categories":[],"readme":"# gh-conf-write\n\nWrite content to github config file\n\n[![Build Status](https://travis-ci.com/gh-conf/gh-conf-write.svg?branch=master)](https://travis-ci.com/gh-conf/gh-conf-write)\n[![Github Repo Size](https://img.shields.io/github/repo-size/gh-conf/gh-conf-write.svg)](https://github.com/gh-conf/gh-conf-write)\n[![Contributors](https://img.shields.io/github/contributors/gh-conf/gh-conf-write.svg)](https://github.com/gh-conf/gh-conf-write/graphs/contributors)\n[![Commit](https://img.shields.io/github/last-commit/gh-conf/gh-conf-write.svg)](https://github.com/gh-conf/gh-conf-write/commits/master)\n[![NPM Version](https://img.shields.io/npm/v/@gh-conf/gh-conf-write.svg)](https://www.npmjs.com/package/@gh-conf/gh-conf-write)\n\nIt reads the github config file and returns it contents.\nIt needs respository path as input to read the config.\n\n\u003e Give us a :star: if you like our work :heart:\n\n\u003ca href=\"https://www.buymeacoffee.com/gh-conf\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: auto !important;width: auto !important;\" \u003e\u003c/a\u003e\n\u003ca href=\"https://www.patreon.com/bePatron?u=15454240\" target=\"_blank\"\u003e\u003cimg src=\"https://c5.patreon.com/external/logo/become_a_patron_button.png\" alt=\"Become a Patron!\" height=\"40\"\u003e\u003c/a\u003e\n\nPlease consider donating, if you like my work\n\n\n## Install\n\n```\n$ npm install @gh-conf/gh-conf-write\n```\n\n\n## Usage\n\n```javascript\nconst { writeConf } = require('@gh-conf/gh-conf-write');\n\n(async () =\u003e {\n  try {\n    const writeResult = await writeConf('./gh-conf-write', 'CONTENT');\n    console.log(writeResult);\n    /**\n     * {\n     *   status: 'success',\n     *   message: 'Config updated',\n     *   data: {\n     *       content: 'CONTENT'\n     *   }\n     * }\n     **/\n  } catch (error) {\n    console.log(error);\n  }\n})();\n\n```\n\n\n## Contributing\n\nInterested in contributing to this project?\nYou can log any issues or suggestion related to this library [here](https://github.com/gh-conf/gh-conf-write/issues/new)\n\nRead our contributing [guide](CONTRIBUTING.md) on getting started with contributing to the codebase\n\n\n## Contributors\n\n\u003ca href=\"https://github.com/arshadkazmi42\"\u003e\u003cimg src=\"https://github.com/arshadkazmi42.png\" width=\"30\" /\u003e\u003c/a\u003e  \u003ca href=\"https://github.com/justingolden21\"\u003e\u003cimg src=\"https://github.com/justingolden21.png\" width=\"30\" /\u003e\u003c/a\u003e  \u003ca href=\"https://github.com/bojanadjordjevic\"\u003e\u003cimg src=\"https://github.com/bojanadjordjevic.png\" width=\"30\" /\u003e\u003c/a\u003e  \u003ca href=\"https://github.com/myles-painter\"\u003e\u003cimg src=\"https://github.com/myles-painter.png\" width=\"30\" /\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgh-conf%2Fgh-conf-write","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgh-conf%2Fgh-conf-write","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgh-conf%2Fgh-conf-write/lists"}