Zips a single file and returns a promise that resolves when the zip operation is complete.
The options for the zip operation.
The path to the input file to be zipped.
The path to the output zip file.
import { zipFile } from "nsuite";await zipFile({ pathInputFile: "./package.json", pathOutputFile: "./package.json.zip",}); Copy
import { zipFile } from "nsuite";await zipFile({ pathInputFile: "./package.json", pathOutputFile: "./package.json.zip",});
Zips a single file and returns a promise that resolves when the zip operation is complete.