happy-opfs
    Preparing search index...

    Function unzipSync

    • Synchronous version of unzip. Extracts a zip file to a directory.

      Parameters

      • zipFilePath: string

        The path to the zip file.

      • destDir: string

        The directory to unzip to.

      Returns VoidIOResult

      A VoidIOResult indicating success or failure.

      unzip for the async version.

      1.6.0

      unzipSync('/downloads/archive.zip', '/extracted');