Growthackr Chrome Extension - v1.0.0
    Preparing search index...
    • Removes the top-level domain (TLD) from a given hostname. If the hostname has more than one part separated by a dot, it removes the last part.

      Parameters

      • hostname: string

        The hostname from which to remove the TLD. It's like a haircut for your domain!

      Returns string

      • The hostname with the TLD removed. No more 'com' or 'net' on your head!