Edit word document and replace text and image placeholders dynamically with Node JS

Viewed 12106

Is there a way where I can read a word file (.docx) via Node JS which has placeholders like {text1} / {image1} and replace those with the real ones. I have tried couple of npm modules where in I was able to create a fresh copy of docx but unable to edit or replace image and text. Thanks in anticipation for the help.

1 Answers
Related