Generate docx, pptx, and xlsx from templates (Word, Powerpoint and Excel documents), from Node.js, the Browser and the command line
Search packages..
docxtemplaterSimilar Packages:
Npm Package Weekly Downloads Trend
3 Years
🌟 Show real-time usage chart on docxtemplater's README.md, just copy the code below.
## Usage Trend
[](https://npm-compare.com/docxtemplater#timeRange=THREE_YEARS)
Cumulative GitHub Star Trend
🌟 Show GitHub stars trend chart on docxtemplater's README.md, just copy the code below.
## GitHub Stars Trend
[](https://npm-compare.com/docxtemplater)
Stat Detail
Package
Downloads
Stars
Size
Issues
Publish
License
Â
Â
Â
Â
Â
Â
Â
docxtemplater
200,660
3,421
1.26 MB
6
7 days ago
MIT
Popular Comparisons
docxtemplater
README for docxtemplater
docxtemplater
docxtemplater is a library to generate docx/pptx documents from a docx/pptx template. It can replace {placeholders} with data and also supports loops and conditions. The templates can be edited by non-programmers, for example your clients.
docxtemplater is very robust because of the many fixed issues over the years, and the high quality of tests and code.
Slides Module to create multiple slides dynamically with the syntax {:users};
Subtemplate Module to include an external docx file inside a given docx file with the syntax {:include doc};
Subsection Module to include subsections (headers/footers) from an other document with the syntax {:subsection doc};
Subtemplate-pptx Module to include an external pptx file inside a given pptx file with the syntax {:include doc};
Word-Run Module to include raw runs (<w:r>) inside the document with the syntax {r@wrun}. This makes it possible to include styled text without having to remove the enclosing paragraph like in the {@rawXml} tag;
QrCode Module to replace an image, keeping any existing properties;
Table Module to create tables from two dimensional data using the syntax {:table data};
Meta Module to make a document readonly, add a text watermark or update the margins;
Styling Module restyle a paragraph, a cell or a table depending on some data using the syntax {:stylepar style};
Footnotes Module to be able to add footnotes to a document using the syntax {:footnotes foot}
Paragraph Placeholder Module to simplify conditions that should show or hide a given paragraph using the syntax {?tag}
About docxtemplater
Docxtemplater is my main job, and has been maintained for over 8 years. Expect to get great support if you buy any modules, and also good support on the open-source version.