This package allows you to parse DOCX files with an easy to use API. It allows you to fill placeholders within DOCX files. You can also choose to save the file as a DOCX or as a PDF.
georgehanson/node-docx-parser
A node script which can fill DOCX placeholders and convert to PDFs
JavaScript