Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 878 Bytes

File metadata and controls

23 lines (15 loc) · 878 Bytes

docx-api

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.

Installation

git clone https://github.com/stuartmcfarlane/docx-api.git
cd docx-api
npm install

Running it

node server.js

Contributing

If have a html to docx converter please feel free to have a look at docx-transform and drop your code into it.