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
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,
});