/* * This example demonstrates how to merge multiple docx files into single file. */ async function mergeDocx(groupdocs, inputFilePath) { const merger = new groupdocs.merger.Merger(inputFilePath) const outputPath = `${groupdocs.outputFolder}/MergeDocx.docx` console.log(`Merged to ${outputPath}`) merger.join(inputFilePath) return merger.save(outputPath) } module.exports = mergeDocx