skr-js
    Preparing search index...

    Function normalizeSkrName

    • Returns the bare lowercase label of a .skr name: 'Alice.skr' and ' alice ' both become 'alice'. Throws a plain Error when the result is empty or still contains a dot, so subdomains, other TLDs and doubled suffixes such as 'alice.skr.skr' are rejected.

      Parameters

      • input: string

      Returns string