This is intended a to be an http api to convert a web page to a MS Word docx document.
The real work is done by the docx-transform module which is a stream transform that takes a stream of html and produces a srteam of docx. My original motivation for this was have my online CV available to recruiters with an unholy preference for word format documents. As it turns out producing a word document that looks like an arbitary web page is quite a diffucult problem to solve in any general way.
git clone https://github.com/stuartmcfarlane/docx-api.git
cd docx-api
npm install
node server.js
If have a html to docx converter please feel free to have a look at docx-transform and drop your code into it.