Skip to main content

githubUtils

Index

Functions

invalidGithubUrlMessage

  • invalidGithubUrlMessage(url: string): string
  • Parameters

    • url: string

    Returns string

isGithubUrl

  • isGithubUrl(url: string): boolean
  • Determines whether a given url is a valid github git url via regex


    Parameters

    • url: string

    Returns boolean

parseGithubUrl

  • parseGithubUrl(urlStr: string): ParsedGithubUrl
  • Takes a valid github repository url and parses it, returning an object of type ParsedGithubUrl


    Parameters

    • urlStr: string

    Returns ParsedGithubUrl