Skip to content

nsuite v2.2.1


nsuite / unzipFile

Function: unzipFile()

unzipFile(options): Promise<void>

Defined in: UtilsFile.ts:146

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

Parameters

options

UnzipFileOptions

The options for the unzip operation.

Returns

Promise<void>

  • A promise that resolves when the unzip operation is complete.

Example

ts
import { unzipFile } from "nsuite";

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

Released under the Apache-2.0 License.