Function unpackBundle

  • Unpacks the .tar.gz (odbx format) file and returns the items.

    Works in both the browser and Node.js: decompression uses fflate and the TAR archive is read by readTarItems, so it does not depend on any browser-only API.

    Returns

    • The items in the .tar.gz file.

    Parameters

    • data: ArrayBuffer | Blob

      The .tar.gz (odbx format) file.

    Returns Promise<{
        hasCache: boolean;
        images: any;
        items: TarItem[];
        packages: TarItem[];
    }>

Generated using TypeDoc