Matterway
    Preparing search index...

    Function mergePdfs

    • Function to merge multiple PDF files into a single MwFile

      Parameters

      • files: MwFile[]

        An array of MwFile objects

      Returns Promise<MwFile>

      An MwFile file object with all the PDF files merged into a single file

      const mwFiles = [file1, file2, file3];
      const mergedFile = await mergePdfs(mwFiles);