zenodo
    Preparing search index...

    Function zipFiles

    • This function zips an array of File objects into a single zip file.

      Parameters

      • files: File[]

        Array of File objects to be zipped

      • zipName: string

        The name of the resulting zip file (without extension)

      Returns Promise<File>

      A promise that resolves to a File object representing the zip file.