• Converts a JSON object to a zip file.

    Parameters

    • zippedFileName: string

      Name of the file in the zip file

    • zippedFileJson: any

      JSON object to convert

    • filename: string

      Name to use for zip file; ".zip" added if missing

    Returns Promise<File>

    Promise resolving to zip file