nsuite - v1.0.1
    Preparing search index...

    Function unzipFile

    • Unzips a file and returns a promise that resolves when the unzip operation is complete.

      Parameters

      • options: { pathFile: string; pathOutput: string }

        The options for the unzip operation.

        • pathFile: string

          The path to the zip file to be unzipped.

        • pathOutput: string

          The path to the output directory.

      Returns Promise<void>

      • A promise that resolves when the unzip operation is complete.
      import { unzipFile } from "nsuite";

      await unzipFile({
      pathFile: pathDistZip,
      pathOutput: pathOutputDirectory,
      });