https://github.com/gh-conf/gh-conf-path
Builds and formats input path
https://github.com/gh-conf/gh-conf-path
conf gh-conf github-config github-config-path path
Last synced: 4 months ago
JSON representation
Builds and formats input path
- Host: GitHub
- URL: https://github.com/gh-conf/gh-conf-path
- Owner: gh-conf
- License: mit
- Created: 2019-01-28T17:21:22.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-15T17:33:33.000Z (over 4 years ago)
- Last Synced: 2025-03-17T23:20:06.066Z (8 months ago)
- Topics: conf, gh-conf, github-config, github-config-path, path
- Language: JavaScript
- Size: 18.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# gh-conf-path
Builds and formats input path
[](https://travis-ci.com/gh-conf/gh-conf-path)
[](https://github.com/gh-conf/gh-conf-path)
[](https://github.com/gh-conf/gh-conf-path/graphs/contributors)
[](https://github.com/gh-conf/gh-conf-path/commits/master)
It reads the github config file and returns it contents.
It needs respository path as input to read the config.
> 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-path
```
## Usage
```javascript
const { addSlash } = require('@gh-conf/gh-conf-path');
const path = addSlash('./gh-conf-path');
console.log(path)
// Output
// ./gh-conf-path/
```
## 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-path/issues/new)
Read our contributing [guide](CONTRIBUTING.md) on getting started with contributing to the codebase
## Contributors
