Function extractZip

  • Extracts a zip file to a target directory.

    Parameters

    • zipFilePath: string

      The path of the zip file to extract.

    • targetDirectory: string

      The directory to extract the zip file to.

    Returns Promise<string>

    Returns the common root path of the extracted files.

    Throws

    Throws an error if the extraction fails.

Generated using TypeDoc