git-url-uglify
Uglify git url
Install
$ npm install --save git-url-uglify
Usage
const gitUrlUglify = require('git-url-uglify')
gitUrlUglify('https://github.com/bukinoshita/git-url-uglify.git')
// => { owner: 'bukinoshita', repository: 'git-url-uglify' }
API
gitUrlUglify(repo)
returns an object
.
repo
Type: string
Required
Related
- git-synced β
π Keep a fork up to date - del-git-index β Safely delete index.lock of the current project
- repo-exist β Checks if GitHub repository exist
- gopn β Open GitHub repositories
- is-github-repo β Checks if string is a git repository
- git-url-prettify β Prettify git url
License
MIT Β© Bu Kinoshita