@squawk
    Preparing search index...

    Interface LoadAirportDatasetOptions

    Options for loadUsBundledAirports.

    interface LoadAirportDatasetOptions {
        fetch?: (
            input: string | URL | Request,
            init?: RequestInit,
        ) => Promise<Response>;
        url?: string | URL;
    }
    Index

    Properties

    Properties

    fetch?: (input: string | URL | Request, init?: RequestInit) => Promise<Response>

    Custom fetch implementation. Defaults to the global fetch. Useful for tests, edge runtimes that need a configured fetcher, or environments with a non-standard fetch.

    url?: string | URL

    URL of the gzipped dataset file. Defaults to a path resolved relative to this module's import.meta.url, which works under any modern ESM bundler when the package is installed normally. Override this to host the file on your own CDN or to provide a custom test fixture.