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

      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 { loadUsBundledProcedures } from '@squawk/procedure-data/browser';
      import { createProcedureResolver } from '@squawk/procedures';

      const dataset = await loadUsBundledProcedures();
      const resolver = createProcedureResolver({ 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 loadUsBundledProcedures({
      url: 'https://your-cdn.example/procedures.json.gz',
      });

      Parameters

      Returns Promise<ProcedureDataset>