Categories
Node JS

Word document placeholder replacement with Node js

In this post, we gonna see how we can use Docxtemplater library to replace placeholders in the Word Document in Node js based projects.  Let’s initialize the project with npm init –yes command. Now install the Docxtemplater the module as shown below: Now create a file called processWordDoc.js and place the following code. Now execute the […]