@squawk
    Preparing search index...
    • Asynchronously loads, decompresses, and parses the bundled airway dataset. Returns the same AirwayDataset shape as the Node entry point exports as usBundledAirways.

      Handles servers that advertise transport-level gzip via Content-Encoding: gzip (in which case fetch() decodes the body automatically) as well as servers that serve the .gz as opaque bytes.

      import { loadUsBundledAirways } from '@squawk/airway-data/browser';
      import { createAirwayResolver } from '@squawk/airways';

      const dataset = await loadUsBundledAirways();
      const resolver = createAirwayResolver({ data: dataset.records });

      To host the asset on your own CDN or to override the URL for any other reason, pass an explicit url:

      const dataset = await loadUsBundledAirways({
      url: 'https://your-cdn.example/airways.json.gz',
      });

      Parameters

      Returns Promise<AirwayDataset>