// using docxtemplater var zip = new JSZip(content); var doc=new Docxtemplater().loadZip(zip) var text= doc.getFullText(); console.log(text);