file-type
Detect the file type of a file, stream, or data
docx
Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
docxtemplater
Generate docx, pptx, and xlsx from templates (Word, Powerpoint and Excel documents), from Node.js, the Browser and the command line
mammoth
Convert Word documents from docx to simple HTML and Markdown