https://github.com/gh-conf/gh-conf-validate
Github config libraries validator
https://github.com/gh-conf/gh-conf-validate
config gh-conf gh-conf-validate gh-validate github github-config-validate
Last synced: 28 days ago
JSON representation
Github config libraries validator
- Host: GitHub
- URL: https://github.com/gh-conf/gh-conf-validate
- Owner: gh-conf
- License: mit
- Created: 2019-01-27T17:37:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-12T05:09:47.000Z (about 4 years ago)
- Last Synced: 2024-11-16T08:45:51.910Z (7 months ago)
- Topics: config, gh-conf, gh-conf-validate, gh-validate, github, github-config-validate
- Language: JavaScript
- Size: 66.4 KB
- Stars: 2
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# gh-conf-validate
[](https://www.npmjs.com/package/@gh-conf/gh-conf-validate)
[](https://github.com/gh-conf/gh-conf-validate/actions/workflows/nodejs.yml)
[](https://github.com/gh-conf/gh-conf-validate)
[](https://www.npmjs.com/package/@gh-conf/gh-conf-validate)
[](https://github.com/gh-conf/gh-conf-validate/blob/master/LICENSE)
[](https://github.com/gh-conf/gh-conf-validate/graphs/contributors)
[](https://github.com/gh-conf/gh-conf-validate/commits/master)Github config libraries validator
> Give us a :star: if you like our work :heart:
Please consider donating, if you like my work
## Install
```
$ npm install @gh-conf/gh-conf-validate
```## Usage
```javascript
const { validatePath } = require('@gh-conf/gh-conf-validate');// Valid path
const isValid = validatePath('./gh-conf-validate');
console.log(isValid);
// Output
// true// Invalid path
try {
validatePath();
} catch (err) {
console.log(err);// Output
/**
* {
* status: 'err',
* message: 'No path input',
* data: {}
* }
**/
}
```## Contributing
Interested in contributing to this project?
You can log any issues or suggestion related to this library [here](https://github.com/gh-conf/gh-conf-validate/issues/new)Read our contributing [guide](CONTRIBUTING.md) on getting started with contributing to the codebase
## Contributors
Thank you to all the contributors who have helped us in making this project better 🙌