Library API
    Preparing search index...

    Function geoLookup

    • Universal geolocation lookup dispatcher. Automatically delegates to browser geoLocation() or server serverGeoLocation() based on runtime context. When coordinates are resolved, stashes the result in storage with a 24-hour TTL for fast cached lookups.

      Parameters

      • opts: Record<string, any> = {}

        Lookup options passed down to environment handler (e.g. { refresh: true, key: 'tenant-1' })

      Returns Promise<GeoLookupResult>