
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
docxtemplater
Advanced tools
Generate docx, pptx, and xlsx from templates (Word, Powerpoint and Excel documents), from Node.js, the Browser and the command line
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.
The full documentation of the latest version can be found here.
See CHANGELOG.md for information about how to migrate from older versions.
Functionality can be added with the following paid modules :
{%image}
;{~html}
;{$chart}
;{~html}
;{:users}
;{:include doc}
;{:subsection doc}
;{:include doc}
;{r@wrun}
. This makes it possible to include styled text without having to remove the enclosing paragraph like in the {@rawXml} tag;{:table data}
;{:stylepar style}
;{:footnotes foot}
{?tag}
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.
3.61.1
Update moduleApiVersion to 3.45.0 (for being able to use require("docxtemplater/js/get-tags.js");
).
Please update xlsx module to 3.29.1 at least.
Please update slides module to 3.7.1 at least.
FAQs
Generate docx, pptx, and xlsx from templates (Word, Powerpoint and Excel documents), from Node.js, the Browser and the command line
The npm package docxtemplater receives a total of 126,948 weekly downloads. As such, docxtemplater popularity was classified as popular.
We found that docxtemplater demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.