docxtemplater
Word .docx and PowerPoint .pptx template engine for Node.js and the browser.
Why consider docxtemplater?
docxtemplater is an open-source Word and PowerPoint templating engine written in JavaScript by Edgar Hipp. It uses mustache-like tags inside Word documents (`{first_name}`, `{#users}`) to fill legal contracts, HR agreements, and business presentations with JSON data.
Learn docxtemplater by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of docxtemplater
docxtemplater fills dynamic business variables into standard Word template documents.
Quickstart
npm install docxtemplater pizzipimport PizZip from 'pizzip';import Docxtemplater from 'docxtemplater';const zip = new PizZip(content);const doc = new Docxtemplater(zip, { paragraphLoop: true, linebreaks: true });doc.render({ client_name: 'Acme Corp' });docxtemplater is licensed under the permissive MIT License.
Related tools
More options with a similar category or technology profile.
activecampaign-api-php
Official ActiveCampaign PHP API client for marketing automation and deal pipelines.
klaviyo-api-python
Official Python SDK for the Klaviyo E-commerce Marketing Automation API.
klaviyo-api-node
Official Node.js SDK for the Klaviyo E-commerce Marketing Automation API.
hubspot-api-python
Official Python client for the HubSpot CRM & Marketing Automation REST APIs.