Options
All
  • Public
  • Public/Protected
  • All
Menu

External module scripts/backup/zip

Zip utilities

Index

Functions

unzipFileAsString

  • unzipFileAsString(fileName: string, data: string): Promise<string>
  • Unzip a file into a string

    Parameters

    • fileName: string

      name of file in data

    • data: string

      zip file contents

    Returns Promise<string>

    file contents as string

zipFile

  • zipFile(fileName: string, dataString: string): Promise<string>
  • Zip a file

    Parameters

    • fileName: string

      filename to embed

    • dataString: string

      data to zip

    Returns Promise<string>

    zipped bytes

Generated using TypeDoc