1.0.0 • Published 7 years ago
git-to-github-url v1.0.0
git-to-github-url
Get GitHub URL for a git repository
Install
$ npm install git-to-github-url
Usage
const gitToGithubUrl = require('git-to-github-url');
const url = await gitToGithubUrl();
//=> 'https://github.com/vadimdemedes/ink'
API
gitToGithubUrl(cwd)
cwd
Type: string
Default: process.cwd()
Path to a git repository.
License
MIT © Vadim Demedes
1.0.0
7 years ago