Gathering detailed insights and metrics for @platmac/node-red-pdfbuilder
Gathering detailed insights and metrics for @platmac/node-red-pdfbuilder
npm install @platmac/node-red-pdfbuilder
Typescript
Module System
Min. Node Version
Node Version
NPM Version
69.1
Supply Chain
92.9
Quality
81.3
Maintenance
100
Vulnerability
99.3
License
HTML (74.74%)
JavaScript (25.26%)
Total Downloads
1,743
Last Day
3
Last Week
13
Last Month
87
Last Year
1,743
1 Stars
36 Commits
1 Branches
1 Contributors
Latest Version
1.1.0
Package Id
@platmac/node-red-pdfbuilder@1.1.0
Unpacked Size
831.72 kB
Size
471.03 kB
File Count
12
NPM Version
8.19.3
Node Version
16.19.0
Publised On
09 Jul 2024
Cumulative downloads
Total Downloads
Last day
0%
3
Compared to previous day
Last week
-40.9%
13
Compared to previous week
Last month
-36%
87
Compared to previous month
Last year
0%
1,743
Compared to previous year
1
3
Fork of the node-red-contrib-pdfmake package with error handling, fixed crashes and updated pdfmake library (ver. 0.3.8(beta)) node-red-contrib-pdfmake repository
This node is a simple wrapper around PDFmake, a JSON based solution to create PDFs from a given document definition.
Use cases where PDF generation might be necessary:
@platmac/node-red-pdfbuilder can be install using the node-red editor's pallete or by running npm in the console:
1npm install @platmac/node-red-pdfbuilder
Instructions of how to describe document you can find at pdfmake website, documentation section.
There is just one node, and it expects an object in msg.payload
with a valid docDefinition like:
1{ 2 "content": [ 3 "First paragraph", 4 "Another paragraph, this time a little bit longer to make sure, this line will be divided into at least two lines" 5 ] 6 7}
pdfbuilder: Returns pdf document by specified properties
The following properties can be configured in the node editor:
The node returns a msg.payload
holding the created PDF either as a Buffer or a base64 encoded string (as configured in the node).
Examples are provided using the default node-red way, i.e. use import
in the editor menu and look for examples in the @platmac/node-red-pdfbuilder
package
No vulnerabilities found.
No security vulnerabilities found.