method
zlib.ZipFile.delete
name: string
): Promise<boolean>;
Rewrites the central directory without writing any new content - the archive does not grow. Throws ERR_ZIP_NOT_WRITABLE if the ZipFile was not opened with { writable: true }.
@returns
Promise fulfilled with true if an entry named name existed and was removed, false otherwise.