Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

jeanCodeUnMax/gh-conf-write

Repository files navigation

gh-conf-write

Write content to github config file

Build Status Github Repo Size Contributors Commit NPM Version

It reads the github config file and returns it contents. It needs respository path as input to read the config.

Give us a ⭐ if you like our work ❤️

Buy Me A Coffee Become a Patron!

Please consider donating, if you like my work

Install

$ npm install @gh-conf/gh-conf-write

Usage

const { writeConf } = require('@gh-conf/gh-conf-write');
(async () => {
 try {
 const writeResult = await writeConf('./gh-conf-write', 'CONTENT');
 console.log(writeResult);
 /**
 * {
 * status: 'success',
 * message: 'Config updated',
 * data: {
 * content: 'CONTENT'
 * }
 * }
 **/
 } catch (error) {
 console.log(error);
 }
})();

Contributing

Interested in contributing to this project? You can log any issues or suggestion related to this library here

Read our contributing guide on getting started with contributing to the codebase

Contributors

About

Writes to gihub config file

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%

AltStyle によって変換されたページ (->オリジナル) /