puredocx-docx-templater-free
v1.0.2
Published
Generate docx from templates (Word documents), from Node.js, the Browser.
Downloads
7
Readme
Installation
With modules:
npm install --save @mllx87/puredocx
Usage
First, download the input.docx file and place it in the same folder as your JavaScript file.
const Puredocx = require("@mllx87/puredocx");
var puredocx = new Puredocx()
var substitutions = {
"title":"hello",
"summary":"New World",
"staff":30,
"company":"mllx"
};
puredocx.render("input.docx",substitutions,"output.docx")
For more options see:PureDocx