Gleam - v1.0.2
    Preparing search index...

    Function urlBasename

    • Filename component of a URL/path, without directory, extension, or query string. Returns null when no usable name can be derived: a path ending in /, or a stem containing a malformed percent-escape that decodeURIComponent rejects.

      Parameters

      • path: string

      Returns string | null