I discovered a few repositories that don't appear to be active anymore:
https://github.com/gfloyd/node-unoconv
https://github.com/skmp/node-msoffice-pdf/
I tried using libreoffice for this, but the pdf output is so terrible that it's useless (text on diff. pages etc.).
I'd like to avoid initiating any background processes and/or saving the file to the server if at all possible. The best solution would be one that allows me to employ buffers. I am unable to use any external service due to concerns about privacy.
doc buffer -> pdf buffer
How to convert docs to pdf in nodejs?