@bitbeater/node-utils - v3.0.0
    Preparing search index...

    Function readGZipSync

    • Reads a gzipped file synchronously and returns the uncompressed data as a Buffer.

      Parameters

      • path: string

        The path to the gzipped file.

      • OptionalreadFileOptions: { encoding?: null; flag?: string }

        The options to pass to the readFileSync function.

      • OptionalzlibOptions: ZlibOptions

        The options to pass to the unzipSync function.

      Returns Buffer

      The uncompressed data as a Buffer.