@oazmi/build-tools - v0.2.7
    Preparing search index...

    Function gitRepositoryToUrl

    • convert potential git-repository url to a proper repository url.

      example:

      input output (URL.href)
      git+https://github.com/omar-azmi/build_tools_ts.git https://github.com/omar-azmi/build_tools_ts
      https://github.com/omar-azmi/build_tools_ts.git https://github.com/omar-azmi/build_tools_ts
      git+https://github.com/omar-azmi/build_tools_ts https://github.com/omar-azmi/build_tools_ts
      https://github.com/omar-azmi/build_tools_ts https://github.com/omar-azmi/build_tools_ts

      Parameters

      • repo_git_url: string

      Returns URL