get-github-url

v1.0.4
Get a complete (or a canonical) GitHub repository URL (https or ssh) from an incomplete URL or a user/repo path
github git url string username repository ssh https

test

mocha --reporter nyan

tdd

npm test -- --watch

release

npm version ${BUMP:-"patch"} --no-git-tag-version && git add package.json && git commit -m ":octocat: Bump to $(cat package.json | jq -r .version)" && git tag $(cat package.json | jq -r .version) && git push && git push --tags && npm publish
npm i get-github-url

Metadata

  • MIT
  • >=0.10.0
  • Philipp Alferov
  • released 10/24/2015

Downloads

Maintainers