pipertts - v1.3.0
    Preparing search index...

    Function parsePiperHubSlug

    • Extracts a PiperHub slug from the accepted model reference forms.

      Accepted: bare slug (glados-french-medium-voice), hub:<slug>, piperhub:<slug>, or a full page URL (https://piperhub.org/model/<slug>/).

      Parameters

      • input: string

        Model reference to parse.

      Returns string | null

      The slug, or null when the input is not a PiperHub reference.