https://github.com/bukinoshita/git-url-prettify
Prettify git url
https://github.com/bukinoshita/git-url-prettify
git github javascript node nodejs prettier prettifier prettify pretty url
Last synced: 6 months ago
JSON representation
Prettify git url
- Host: GitHub
- URL: https://github.com/bukinoshita/git-url-prettify
- Owner: bukinoshita
- Created: 2017-06-22T20:46:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-04T04:40:21.000Z (over 6 years ago)
- Last Synced: 2025-03-12T15:18:48.799Z (7 months ago)
- Topics: git, github, javascript, node, nodejs, prettier, prettifier, prettify, pretty, url
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# git-url-prettify [](https://travis-ci.org/bukinoshita/git-url-prettify)
> Prettify git url
## Install
```
$ npm install --save git-url-prettify
```## Usage
```js
const gitUrlPrettify = require('git-url-prettify')gitUrlPrettify('bukinoshita/git-url-prettify')
// => https://github.com/bukinoshita/git-url-prettify.git
```## API
### gitUrlPrettify(repo, [options])
returns a `string`.
#### repo
Type: `string`
Required#### options
Type: `object`
##### type
Type: `string`
Default: `https`
Options: `https` or `ssh`## Related
- [git-synced](https://github.com/bukinoshita/git-synced) — 🎐 Keep a fork up to date
- [del-git-index](https://github.com/bukinoshita/del-git-index) — Safely delete index.lock of the current project
- [repo-exist](https://github.com/bukinoshita/repo-exist) — Checks if GitHub repository exist
- [gopn](https://github.com/bukinoshita/gopn) — Open GitHub repositories
- [is-github-repo](https://github.com/bukinoshita/is-github-repo) — Checks if string is a git repository
- [git-url-uglify](https://github.com/bukinoshita/git-url-uglify) — Uglify git url## License
MIT © [Bu Kinoshita](https://bukinoshita.io)