Gathering detailed insights and metrics for docxtemplater-cli-open-image-module
Gathering detailed insights and metrics for docxtemplater-cli-open-image-module
Gathering detailed insights and metrics for docxtemplater-cli-open-image-module
Gathering detailed insights and metrics for docxtemplater-cli-open-image-module
docxtemplater CLI (with Open Source Image Module)
npm install docxtemplater-cli-open-image-module
Typescript
Module System
Node Version
NPM Version
64.3
Supply Chain
76
Quality
74.5
Maintenance
25
Vulnerability
96.4
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
1 Stars
9 Commits
4 Forks
1 Branches
1 Contributors
Updated on Jun 05, 2024
Latest Version
1.0.3
Package Id
docxtemplater-cli-open-image-module@1.0.3
Unpacked Size
85.64 kB
Size
60.76 kB
File Count
9
NPM Version
3.10.10
Node Version
6.11.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
This fork of docxtemplater CLI includes the support for open-docxtemplater-image-module.
The package below includes a copy of docxtemplater and open-docxtemplater-image-module.
npm install -g docxtemplater-cli-open-image-module
Browse to folder 'examples' and run the following in your console
docxtemplater input.pptx data.json output.pptx
This is a simple JSON file. Assuming we are working on the template 'input.pptx' provided with this package in 'examples' folder, we write below JSON to replace tags in the template by their respective value.
1{ 2 "first_name": "John", 3 "last_name": "Doe", 4 "description": "He is awesome", 5 "phone": "+4412345678", 6 "picture": "johndoe.png" 7}
As you can see we have included a picture of John Doe (johndoe.png). For this picture to be correctly rendered in the output, we must explicitly activate the Open Source Image Module open-docxtemplater-image-module. Note that all images must be under the directory 'imageDir'.
1{ 2 "first_name": "John", 3 "last_name": "Doe", 4 "description": "He is awesome", 5 "phone": "+4412345678", 6 "picture": "johndoe.png", 7 "config": { 8 "modules": ["open-docxtemplater-image-module"], 9 "imageDir": "." 10 } 11}
More on how to write your templates in docxtemplater documentation.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
7 existing vulnerabilities detected
Details
Reason
Found 0/9 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More