Skip to content

ramstore07/gh-conf-validate

 
 

Repository files navigation

gh-conf-validate

Build Status Github Repo Size License: MIT Contributors Downloads NPM Commit

Github config libraries validator

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-validate

Usage

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

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

About

Github config libraries validator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%