handlebars/helpers/index.js
function repoWebUrl (gitUrl) {
  if (!gitUrl) {
    return undefined
  }
  const orgRepo = _githubOrgRepo(gitUrl)
  if (orgRepo) {
    return 'https://github.com/' + orgRepo
  } else {
    return null
  }
}
function repoWebUrl (gitUrl) {
  if (!gitUrl) {
    return undefined
  }
  const orgRepo = _githubOrgRepo(gitUrl)
  if (orgRepo) {
    return 'https://github.com/' + orgRepo
  } else {
    return null
  }
}
function repoWebUrl ( gitUrl ) { if ( ! gitUrl ) { return undefined } const orgRepo = _githubOrgRepo ( gitUrl ) if ( orgRepo ) { return 'https://github.com/' + orgRepo } else { return null } }
Returns the http-url for viewing a git-repository in the browser given a repo-url from the package.json
Currently, only github urls are supported
@param {string} gitUrl the git url from the repository.url-property of package.json
@access public
@memberOf helpers
Returns the http - url for viewing a git - repository in the browser given a repo - url from the package . json Currently only github urls are supported