Convert HTML to real Word docs without Office using dom-docx
dom-docx converts raw HTML fragments into native, editable .docx files, preserving paragraphs, lists, tables and images. It works in Node or directly in the browser with no Office or proprietary tools required, under an MIT license. Developers can finally generate clean Word docs programmatically without resorting to screenshots or heavy SDKs.