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

      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 { loadUsBundledFixes } from '@squawk/fix-data/browser';
      import { createFixResolver } from '@squawk/fixes';

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

      Parameters

      Returns Promise<FixDataset>