This article explains how to detect document File type and calculate pages count when merge PDF, Word(DOC, DOCX), Excel(XLS, XLSX), PowerPoint(PPT, PPTX) Files with GroupDocs.Merger for Node.js via Java....Comparison Product Solution GroupDocs...console . log ( ` Document info file format : $ { documentType ....