code: function getOwnerAndRepo(url) {
    let match = url.match(/^git@github\.com:(.*)\.git$/);
    match = match || url.match(/^git\+https:\/\/github\.com\/(.*)\.git$/);
    const gitUrlBase = match && match[1];
    return (gitUrlBase || url).split('/');
  }
docs: Npm's `package.json` 'repository.url' could be set to one of three forms:
  git@github.com:<author>/<repo-name>.git
  git+https://github.com/<author>/<repo-name>.git
  or just <author>/<repo-name>
  @returns [<author>, <repo-name>] array