puredocx-pptx-templater-free
v1.0.1
Published
Generate pptx from templates (Word documents), from Node.js, the Browser.
Downloads
4
Readme
Installation
With modules:
npm install --save @mllx87/puredocx
Usage
First, download the simple.pptx 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("simple.pptx",substitutions,"output.pptx")
For more options see:PureDocx