CS2 Inspect Library - v4.0.0
    Preparing search index...

    Class UrlAnalyzer

    Enhanced URL analyzer with comprehensive validation

    Index

    Constructors

    Methods

    • Formats an analyzed URL back to string format

      Parameters

      • urlInfo: AnalyzedInspectURL
      • options: { quote?: boolean; includeSteamPrefix?: boolean } = {}

      Returns string

    • Extracts basic information from URL without full decoding

      Parameters

      • url: string

      Returns {
          type: "masked" | "unmasked" | "invalid";
          isQuoted: boolean;
          hasValidFormat: boolean;
          estimatedSize?: number;
      }

    • Checks if URL is likely a valid inspect URL without throwing errors

      Parameters

      • url: string

      Returns boolean

    • Normalizes URL format (converts to quoted Steam URL)

      Parameters

      • url: string

      Returns string

    • Check if URL requires Steam client for inspection

      Parameters

      • url: string

      Returns boolean