• Extracts the filename from a given URL string.

    Parameters

    • urlString: string

      The URL string.

    Returns string

    The extracted filename.

    Example

    console.log(identifyFilename('https://example.com/image.jpg')); // 'image.jpg'
    

Generated using TypeDoc