Constructors

Methods

Constructors

Methods

  • Parameters

    • srcPath: string
    • destPath: string
    • verbose: boolean = false

    Returns string

  • Zip a file or directory

    Parameters

    • srcPath: string

      path to a file or directory

    • destPath: string

      path to the output zip file

    • Optionalverbose: boolean = false

      if true, log the progress

    Returns Promise<string>

    path to the output zip file