n8n-nodes-pdf4me 0.8.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +162 -114
- package/dist/.eslintrc.js +31 -123
- package/dist/README.md +162 -114
- package/dist/credentials/Pdf4meApi.credentials.js +1 -1
- package/dist/credentials/Pdf4meApi.credentials.js.map +1 -1
- package/dist/nodes/Pdf4me/Descriptions.js +567 -17
- package/dist/nodes/Pdf4me/Descriptions.js.map +1 -1
- package/dist/nodes/Pdf4me/GenericFunctions.d.ts +77 -7
- package/dist/nodes/Pdf4me/GenericFunctions.js +134 -63
- package/dist/nodes/Pdf4me/GenericFunctions.js.map +1 -1
- package/dist/nodes/Pdf4me/Pdf4me.node.js +275 -4
- package/dist/nodes/Pdf4me/Pdf4me.node.js.map +1 -1
- package/dist/nodes/Pdf4me/actions/GenerateDocumentSingle.d.ts +13 -0
- package/dist/nodes/Pdf4me/actions/GenerateDocumentSingle.js +461 -0
- package/dist/nodes/Pdf4me/actions/GenerateDocumentSingle.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/GenerateDocumentsMultiple.d.ts +15 -0
- package/dist/nodes/Pdf4me/actions/GenerateDocumentsMultiple.js +603 -0
- package/dist/nodes/Pdf4me/actions/GenerateDocumentsMultiple.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/GetDocumentFromPdf4me.d.ts +15 -0
- package/dist/nodes/Pdf4me/actions/GetDocumentFromPdf4me.js +287 -0
- package/dist/nodes/Pdf4me/actions/GetDocumentFromPdf4me.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/GetTrackingChangesInWord.d.ts +13 -0
- package/dist/nodes/Pdf4me/actions/GetTrackingChangesInWord.js +204 -0
- package/dist/nodes/Pdf4me/actions/GetTrackingChangesInWord.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/MergeMultiplePDFs.d.ts +15 -0
- package/dist/nodes/Pdf4me/actions/MergeMultiplePDFs.js +515 -0
- package/dist/nodes/Pdf4me/actions/MergeMultiplePDFs.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/OverlayPDFs.d.ts +15 -0
- package/dist/nodes/Pdf4me/actions/OverlayPDFs.js +485 -0
- package/dist/nodes/Pdf4me/actions/OverlayPDFs.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/SplitPdfByBarcode.d.ts +18 -0
- package/dist/nodes/Pdf4me/actions/SplitPdfByBarcode.js +544 -0
- package/dist/nodes/Pdf4me/actions/SplitPdfByBarcode.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/SplitPdfBySwissQR.d.ts +18 -0
- package/dist/nodes/Pdf4me/actions/SplitPdfBySwissQR.js +458 -0
- package/dist/nodes/Pdf4me/actions/SplitPdfBySwissQR.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/SplitPdfByText.d.ts +18 -0
- package/dist/nodes/Pdf4me/actions/SplitPdfByText.js +451 -0
- package/dist/nodes/Pdf4me/actions/SplitPdfByText.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/SplitPdfRegular.d.ts +4 -0
- package/dist/nodes/Pdf4me/actions/SplitPdfRegular.js +472 -0
- package/dist/nodes/Pdf4me/actions/SplitPdfRegular.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/addAttachmentToPdf.d.ts +4 -0
- package/dist/nodes/Pdf4me/actions/addAttachmentToPdf.js +737 -0
- package/dist/nodes/Pdf4me/actions/addAttachmentToPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/addFormFieldsToPdf.d.ts +24 -0
- package/dist/nodes/Pdf4me/actions/addFormFieldsToPdf.js +315 -0
- package/dist/nodes/Pdf4me/actions/addFormFieldsToPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/addHtmlHeaderFooter.d.ts +4 -0
- package/dist/nodes/Pdf4me/actions/addHtmlHeaderFooter.js +536 -0
- package/dist/nodes/Pdf4me/actions/addHtmlHeaderFooter.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/addImageStampToPdf.d.ts +15 -0
- package/dist/nodes/Pdf4me/actions/addImageStampToPdf.js +880 -0
- package/dist/nodes/Pdf4me/actions/addImageStampToPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/addImageWatermarkToImage.d.ts +17 -0
- package/dist/nodes/Pdf4me/actions/addImageWatermarkToImage.js +495 -0
- package/dist/nodes/Pdf4me/actions/addImageWatermarkToImage.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/addMarginToPdf.d.ts +15 -0
- package/dist/nodes/Pdf4me/actions/addMarginToPdf.js +361 -0
- package/dist/nodes/Pdf4me/actions/addMarginToPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/addPageNumberToPdf.d.ts +15 -0
- package/dist/nodes/Pdf4me/actions/addPageNumberToPdf.js +423 -0
- package/dist/nodes/Pdf4me/actions/addPageNumberToPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/addTextStampToPdf.d.ts +15 -0
- package/dist/nodes/Pdf4me/actions/addTextStampToPdf.js +485 -0
- package/dist/nodes/Pdf4me/actions/addTextStampToPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/addTextWatermarkToImage.d.ts +17 -0
- package/dist/nodes/Pdf4me/actions/addTextWatermarkToImage.js +434 -0
- package/dist/nodes/Pdf4me/actions/addTextWatermarkToImage.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/barcodeGenerator.js +2 -2
- package/dist/nodes/Pdf4me/actions/barcodeGenerator.js.map +1 -1
- package/dist/nodes/Pdf4me/actions/classifyDocument.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/classifyDocument.js +247 -0
- package/dist/nodes/Pdf4me/actions/classifyDocument.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/compressImage.d.ts +17 -0
- package/dist/nodes/Pdf4me/actions/compressImage.js +287 -0
- package/dist/nodes/Pdf4me/actions/compressImage.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/compressPdf.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/compressPdf.js +209 -0
- package/dist/nodes/Pdf4me/actions/compressPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/{pdfToWord.d.ts → convertFromPdf.d.ts} +2 -0
- package/dist/nodes/Pdf4me/actions/{pdfToWord.js → convertFromPdf.js} +104 -72
- package/dist/nodes/Pdf4me/actions/convertFromPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/convertHtmlToPdf.d.ts +19 -0
- package/dist/nodes/Pdf4me/actions/convertHtmlToPdf.js +512 -0
- package/dist/nodes/Pdf4me/actions/convertHtmlToPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/convertImageFormat.d.ts +17 -0
- package/dist/nodes/Pdf4me/actions/convertImageFormat.js +309 -0
- package/dist/nodes/Pdf4me/actions/convertImageFormat.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/convertMarkdownToPdf.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/convertMarkdownToPdf.js +360 -0
- package/dist/nodes/Pdf4me/actions/convertMarkdownToPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/convertPdfToEditableOcr.d.ts +19 -0
- package/dist/nodes/Pdf4me/actions/convertPdfToEditableOcr.js +293 -0
- package/dist/nodes/Pdf4me/actions/convertPdfToEditableOcr.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/convertPdfToExcel.d.ts +18 -0
- package/dist/nodes/Pdf4me/actions/convertPdfToExcel.js +385 -0
- package/dist/nodes/Pdf4me/actions/convertPdfToExcel.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/convertPdfToPowerpoint.d.ts +18 -0
- package/dist/nodes/Pdf4me/actions/convertPdfToPowerpoint.js +360 -0
- package/dist/nodes/Pdf4me/actions/convertPdfToPowerpoint.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/convertPdfToWord.d.ts +18 -0
- package/dist/nodes/Pdf4me/actions/convertPdfToWord.js +390 -0
- package/dist/nodes/Pdf4me/actions/convertPdfToWord.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/convertToPdf.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/convertToPdf.js +288 -0
- package/dist/nodes/Pdf4me/actions/convertToPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/convertVisio.d.ts +27 -0
- package/dist/nodes/Pdf4me/actions/convertVisio.js +538 -0
- package/dist/nodes/Pdf4me/actions/convertVisio.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/convertWordToPdfForm.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/convertWordToPdfForm.js +343 -0
- package/dist/nodes/Pdf4me/actions/convertWordToPdfForm.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/createImagesFromPdf.d.ts +17 -0
- package/dist/nodes/Pdf4me/actions/createImagesFromPdf.js +713 -0
- package/dist/nodes/Pdf4me/actions/createImagesFromPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/createPdfA.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/createPdfA.js +386 -0
- package/dist/nodes/Pdf4me/actions/createPdfA.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/createSwissQrBill.d.ts +4 -0
- package/dist/nodes/Pdf4me/actions/createSwissQrBill.js +645 -0
- package/dist/nodes/Pdf4me/actions/createSwissQrBill.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/cropImage.js +3 -3
- package/dist/nodes/Pdf4me/actions/cropImage.js.map +1 -1
- package/dist/nodes/Pdf4me/actions/deleteBlankPagesFromPdf.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/deleteBlankPagesFromPdf.js +247 -0
- package/dist/nodes/Pdf4me/actions/deleteBlankPagesFromPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/deleteUnwantedPagesFromPdf.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/deleteUnwantedPagesFromPdf.js +243 -0
- package/dist/nodes/Pdf4me/actions/deleteUnwantedPagesFromPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/disabletracking_changes_in_word.d.ts +3 -0
- package/dist/nodes/Pdf4me/actions/disabletracking_changes_in_word.js +166 -0
- package/dist/nodes/Pdf4me/actions/disabletracking_changes_in_word.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/enableTrackingChangesInWord.d.ts +3 -0
- package/dist/nodes/Pdf4me/actions/enableTrackingChangesInWord.js +166 -0
- package/dist/nodes/Pdf4me/actions/enableTrackingChangesInWord.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/extractAttachmentFromPdf.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/extractAttachmentFromPdf.js +278 -0
- package/dist/nodes/Pdf4me/actions/extractAttachmentFromPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/extractFormDataFromPdf.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/extractFormDataFromPdf.js +247 -0
- package/dist/nodes/Pdf4me/actions/extractFormDataFromPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/extractPages.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/extractPages.js +248 -0
- package/dist/nodes/Pdf4me/actions/extractPages.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/extractPagesFromPdf.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/extractPagesFromPdf.js +243 -0
- package/dist/nodes/Pdf4me/actions/extractPagesFromPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/extractResources.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/extractResources.js +287 -0
- package/dist/nodes/Pdf4me/actions/extractResources.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/extractTableFromPdf.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/extractTableFromPdf.js +247 -0
- package/dist/nodes/Pdf4me/actions/extractTableFromPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/extractTextByExpression.d.ts +18 -0
- package/dist/nodes/Pdf4me/actions/extractTextByExpression.js +280 -0
- package/dist/nodes/Pdf4me/actions/extractTextByExpression.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/extractTextFromWord.d.ts +18 -0
- package/dist/nodes/Pdf4me/actions/extractTextFromWord.js +316 -0
- package/dist/nodes/Pdf4me/actions/extractTextFromWord.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/fillPdfForm.d.ts +31 -0
- package/dist/nodes/Pdf4me/actions/fillPdfForm.js +412 -0
- package/dist/nodes/Pdf4me/actions/fillPdfForm.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/findAndReplaceText.d.ts +18 -0
- package/dist/nodes/Pdf4me/actions/findAndReplaceText.js +241 -0
- package/dist/nodes/Pdf4me/actions/findAndReplaceText.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/flipImage.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/flipImage.js +210 -0
- package/dist/nodes/Pdf4me/actions/flipImage.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/getImageMetadata.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/getImageMetadata.js +209 -0
- package/dist/nodes/Pdf4me/actions/getImageMetadata.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/getPdfMetadata.d.ts +15 -0
- package/dist/nodes/Pdf4me/actions/getPdfMetadata.js +189 -0
- package/dist/nodes/Pdf4me/actions/getPdfMetadata.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/imageExtractText.d.ts +15 -0
- package/dist/nodes/Pdf4me/actions/imageExtractText.js +189 -0
- package/dist/nodes/Pdf4me/actions/imageExtractText.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/jsonToExcel.js +2 -2
- package/dist/nodes/Pdf4me/actions/jsonToExcel.js.map +1 -1
- package/dist/nodes/Pdf4me/actions/protect_document.d.ts +3 -0
- package/dist/nodes/Pdf4me/actions/protect_document.js +204 -0
- package/dist/nodes/Pdf4me/actions/protect_document.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/readBarcodeFromImage.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/readBarcodeFromImage.js +209 -0
- package/dist/nodes/Pdf4me/actions/readBarcodeFromImage.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/readBarcodeFromPdf.d.ts +17 -0
- package/dist/nodes/Pdf4me/actions/readBarcodeFromPdf.js +255 -0
- package/dist/nodes/Pdf4me/actions/readBarcodeFromPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/readSwissQrCode.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/readSwissQrCode.js +190 -0
- package/dist/nodes/Pdf4me/actions/readSwissQrCode.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/removeExifTagsFromImage.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/removeExifTagsFromImage.js +209 -0
- package/dist/nodes/Pdf4me/actions/removeExifTagsFromImage.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/repairPdfDocument.d.ts +15 -0
- package/dist/nodes/Pdf4me/actions/repairPdfDocument.js +189 -0
- package/dist/nodes/Pdf4me/actions/repairPdfDocument.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/replaceTextWithImage.d.ts +15 -0
- package/dist/nodes/Pdf4me/actions/replaceTextWithImage.js +373 -0
- package/dist/nodes/Pdf4me/actions/replaceTextWithImage.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/replaceTextWithImageInWord.d.ts +13 -0
- package/dist/nodes/Pdf4me/actions/replaceTextWithImageInWord.js +388 -0
- package/dist/nodes/Pdf4me/actions/replaceTextWithImageInWord.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/resizeImage.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/resizeImage.js +270 -0
- package/dist/nodes/Pdf4me/actions/resizeImage.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/rotateDocument.d.ts +17 -0
- package/dist/nodes/Pdf4me/actions/rotateDocument.js +266 -0
- package/dist/nodes/Pdf4me/actions/rotateDocument.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/rotateImage.d.ts +16 -0
- package/dist/nodes/Pdf4me/actions/rotateImage.js +232 -0
- package/dist/nodes/Pdf4me/actions/rotateImage.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/rotateImageByExifData.d.ts +15 -0
- package/dist/nodes/Pdf4me/actions/rotateImageByExifData.js +189 -0
- package/dist/nodes/Pdf4me/actions/rotateImageByExifData.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/rotatePage.d.ts +18 -0
- package/dist/nodes/Pdf4me/actions/rotatePage.js +282 -0
- package/dist/nodes/Pdf4me/actions/rotatePage.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/signPdf.d.ts +15 -0
- package/dist/nodes/Pdf4me/actions/signPdf.js +739 -0
- package/dist/nodes/Pdf4me/actions/signPdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/unlock_pdf.d.ts +3 -0
- package/dist/nodes/Pdf4me/actions/unlock_pdf.js +181 -0
- package/dist/nodes/Pdf4me/actions/unlock_pdf.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/update_hyperlinks_annotation.d.ts +4 -0
- package/dist/nodes/Pdf4me/actions/update_hyperlinks_annotation.js +255 -0
- package/dist/nodes/Pdf4me/actions/update_hyperlinks_annotation.js.map +1 -0
- package/dist/nodes/Pdf4me/actions/urlToPdf.js +2 -2
- package/dist/nodes/Pdf4me/actions/urlToPdf.js.map +1 -1
- package/dist/package.json +10 -2
- package/dist/tsconfig.json +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +10 -2
- package/dist/nodes/Pdf4me/actions/pdfToWord.js.map +0 -1
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ For Docker-based deployments, add the package to your package.json and rebuild t
|
|
|
53
53
|
```json
|
|
54
54
|
{
|
|
55
55
|
"name": "n8n-custom",
|
|
56
|
-
"version": "0.
|
|
56
|
+
"version": "0.9.0",
|
|
57
57
|
"description": "",
|
|
58
58
|
"main": "index.js",
|
|
59
59
|
"scripts": {
|
|
@@ -61,7 +61,7 @@ For Docker-based deployments, add the package to your package.json and rebuild t
|
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"n8n": "^1.0.0",
|
|
64
|
-
"n8n-nodes-pdf4me": "^0.
|
|
64
|
+
"n8n-nodes-pdf4me": "^1.0.0"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
```
|
|
@@ -70,116 +70,98 @@ For Docker-based deployments, add the package to your package.json and rebuild t
|
|
|
70
70
|
|
|
71
71
|
This node provides comprehensive document processing capabilities through PDF4ME's API. Here are the available features:
|
|
72
72
|
|
|
73
|
-
### 1.
|
|
74
|
-
**
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
- **
|
|
78
|
-
- **
|
|
79
|
-
- **
|
|
80
|
-
- **
|
|
81
|
-
- **
|
|
82
|
-
- **
|
|
83
|
-
- **
|
|
84
|
-
- **
|
|
85
|
-
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
- **
|
|
89
|
-
- **
|
|
90
|
-
- **
|
|
91
|
-
- **
|
|
92
|
-
- **
|
|
93
|
-
- **
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
**
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
- **
|
|
100
|
-
- **
|
|
101
|
-
- **
|
|
102
|
-
- **
|
|
103
|
-
- **
|
|
104
|
-
- **
|
|
105
|
-
- **
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
**
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
- **
|
|
117
|
-
- **
|
|
118
|
-
- **
|
|
119
|
-
- **
|
|
120
|
-
- **
|
|
121
|
-
- **
|
|
122
|
-
- **
|
|
123
|
-
- **
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
- **
|
|
127
|
-
- **
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
**
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
- **
|
|
143
|
-
- **
|
|
144
|
-
- **
|
|
145
|
-
- **
|
|
146
|
-
- **
|
|
147
|
-
- **
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
**
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
- **
|
|
164
|
-
- **
|
|
165
|
-
- **Local File Path**: Path to image file on local filesystem (when using File Path)
|
|
166
|
-
- **Output File Name**: Name for the output cropped image file
|
|
167
|
-
- **Document Name**: Name of the source image file for reference
|
|
168
|
-
- **Crop Type**:
|
|
169
|
-
- **Border**: Crop by removing borders from all sides
|
|
170
|
-
- **Rectangle**: Crop to a specific rectangular area
|
|
171
|
-
- **Border Cropping Options** (when Crop Type = Border):
|
|
172
|
-
- **Left Border**: Number of pixels to crop from the left border
|
|
173
|
-
- **Right Border**: Number of pixels to crop from the right border
|
|
174
|
-
- **Top Border**: Number of pixels to crop from the top border
|
|
175
|
-
- **Bottom Border**: Number of pixels to crop from the bottom border
|
|
176
|
-
- **Rectangle Cropping Options** (when Crop Type = Rectangle):
|
|
177
|
-
- **Upper Left X**: X coordinate of the upper left corner of the crop rectangle
|
|
178
|
-
- **Upper Left Y**: Y coordinate of the upper left corner of the crop rectangle
|
|
179
|
-
- **Width**: Width of the crop rectangle in pixels
|
|
180
|
-
- **Height**: Height of the crop rectangle in pixels
|
|
181
|
-
- **Advanced Options**:
|
|
182
|
-
- **Custom Profiles**: Additional API configuration options
|
|
73
|
+
### 1. PDF Processing & Manipulation
|
|
74
|
+
- **Add Attachment to PDF**: Attach files to PDF documents
|
|
75
|
+
- **Add Form Fields to PDF**: Add interactive form fields to PDF documents
|
|
76
|
+
- **Add HTML Header Footer**: Add custom HTML headers and footers to PDFs
|
|
77
|
+
- **Add Image Stamp to PDF**: Add image stamps with positioning and opacity controls
|
|
78
|
+
- **Add Margin to PDF**: Add margins to PDF documents
|
|
79
|
+
- **Add Page Number to PDF**: Add page numbers to PDF documents
|
|
80
|
+
- **Add Text Stamp to PDF**: Add text stamps with customizable formatting
|
|
81
|
+
- **Compress PDF**: Optimize PDF files for web, print, or screen viewing
|
|
82
|
+
- **Convert from PDF**: Convert PDFs to Word or Excel with OCR support
|
|
83
|
+
- **Convert PDF to Editable OCR**: Convert PDFs to editable text using OCR
|
|
84
|
+
- **Convert PDF to Excel**: Convert PDF tables to Excel spreadsheets
|
|
85
|
+
- **Convert PDF to PowerPoint**: Convert PDF content to PowerPoint presentations
|
|
86
|
+
- **Convert PDF to Word**: Convert PDFs to editable Word documents
|
|
87
|
+
- **Create Images from PDF**: Extract images from PDF documents
|
|
88
|
+
- **Delete Blank Pages from PDF**: Remove blank pages from PDF documents
|
|
89
|
+
- **Delete Unwanted Pages from PDF**: Remove specific pages from PDF documents
|
|
90
|
+
- **Extract Pages**: Extract specific pages from PDF documents
|
|
91
|
+
- **Extract Pages from PDF**: Extract pages with advanced options
|
|
92
|
+
- **Fill PDF Form**: Fill interactive PDF forms with data
|
|
93
|
+
- **Find and Replace Text**: Find and replace text in PDF documents
|
|
94
|
+
- **Merge Multiple PDFs**: Combine multiple PDF files into one
|
|
95
|
+
- **Overlay PDFs**: Overlay one PDF on top of another
|
|
96
|
+
- **Protect Document**: Add password protection and encryption to PDFs
|
|
97
|
+
- **Repair PDF Document**: Fix corrupted or damaged PDF files
|
|
98
|
+
- **Rotate Document**: Rotate entire PDF documents
|
|
99
|
+
- **Rotate Page**: Rotate specific pages within a PDF
|
|
100
|
+
- **Sign PDF**: Add digital signatures to PDF documents
|
|
101
|
+
- **Split PDF by Barcode**: Split PDFs based on barcode detection
|
|
102
|
+
- **Split PDF by Swiss QR**: Split PDFs based on Swiss QR code detection
|
|
103
|
+
- **Split PDF by Text**: Split PDFs based on text content
|
|
104
|
+
- **Split PDF Regular**: Split PDFs into equal parts or by page ranges
|
|
105
|
+
- **Unlock PDF**: Remove password protection from PDFs
|
|
106
|
+
- **Update Hyperlinks Annotation**: Modify hyperlinks and annotations in PDFs
|
|
107
|
+
|
|
108
|
+
### 2. Image Processing
|
|
109
|
+
- **Add Image Watermark to Image**: Add watermarks to images
|
|
110
|
+
- **Add Text Watermark to Image**: Add text watermarks to images
|
|
111
|
+
- **Compress Image**: Reduce image file sizes while maintaining quality
|
|
112
|
+
- **Convert Image Format**: Convert images between different formats (JPEG, PNG, etc.)
|
|
113
|
+
- **Crop Image**: Crop images with border or rectangle options
|
|
114
|
+
- **Flip Image**: Flip images horizontally, vertically, or both
|
|
115
|
+
- **Get Image Metadata**: Extract metadata from image files
|
|
116
|
+
- **Image Extract Text**: Extract text from images using OCR
|
|
117
|
+
- **Read Barcode from Image**: Read barcodes from images
|
|
118
|
+
- **Remove EXIF Tags from Image**: Remove metadata from images
|
|
119
|
+
- **Replace Text with Image**: Replace text in documents with images
|
|
120
|
+
- **Replace Text with Image in Word**: Replace text in Word documents with images
|
|
121
|
+
- **Resize Image**: Resize images to specific dimensions
|
|
122
|
+
- **Rotate Image**: Rotate images by specific angles
|
|
123
|
+
- **Rotate Image by EXIF Data**: Auto-rotate images based on EXIF orientation
|
|
124
|
+
|
|
125
|
+
### 3. Document Conversion
|
|
126
|
+
- **Convert to PDF**: Convert various document formats to PDF
|
|
127
|
+
- **Convert HTML to PDF**: Convert HTML content to PDF
|
|
128
|
+
- **Convert Image Format**: Convert images between different formats
|
|
129
|
+
- **Convert Markdown to PDF**: Convert Markdown files to PDF
|
|
130
|
+
- **Convert Visio**: Convert Visio diagrams to PDF
|
|
131
|
+
- **Convert Word to PDF Form**: Convert Word documents to PDF forms
|
|
132
|
+
- **JSON to Excel**: Convert JSON data to Excel spreadsheets
|
|
133
|
+
- **URL to PDF**: Convert web pages to PDF
|
|
134
|
+
|
|
135
|
+
### 4. Barcode Operations
|
|
136
|
+
- **Barcode Generator**: Generate various types of barcodes (QR, Code 128, EAN, UPC, etc.)
|
|
137
|
+
- **Read Barcode from Image**: Extract barcode data from images
|
|
138
|
+
- **Read Barcode from PDF**: Extract barcode data from PDF documents
|
|
139
|
+
- **Read Swiss QR Code**: Read Swiss QR codes from documents
|
|
140
|
+
|
|
141
|
+
### 5. Document Analysis & Extraction
|
|
142
|
+
- **Classify Document**: Automatically classify document types
|
|
143
|
+
- **Extract Attachment from PDF**: Extract attached files from PDFs
|
|
144
|
+
- **Extract Form Data from PDF**: Extract form field data from PDFs
|
|
145
|
+
- **Extract Pages from PDF**: Extract specific pages from PDFs
|
|
146
|
+
- **Extract Resources**: Extract resources from documents
|
|
147
|
+
- **Extract Table from PDF**: Extract tables from PDF documents
|
|
148
|
+
- **Extract Text by Expression**: Extract text using custom expressions
|
|
149
|
+
- **Extract Text from Word**: Extract text from Word documents
|
|
150
|
+
- **Get Document from PDF4ME**: Retrieve documents from PDF4ME storage
|
|
151
|
+
- **Get PDF Metadata**: Extract metadata from PDF files
|
|
152
|
+
|
|
153
|
+
### 6. Document Management & Generation
|
|
154
|
+
- **Create PDF/A**: Create PDF/A compliant documents
|
|
155
|
+
- **Create Swiss QR Bill**: Create Swiss QR Bills using all compliance standards for digital payment transactions
|
|
156
|
+
- **Disable Tracking Changes in Word**: Remove tracking changes from Word documents
|
|
157
|
+
- **Enable Tracking Changes in Word**: Enable tracking changes in Word documents
|
|
158
|
+
- **Generate Document Single**: Generate single documents from templates
|
|
159
|
+
- **Generate Documents Multiple**: Generate multiple documents from templates
|
|
160
|
+
- **Get Tracking Changes in Word**: Get tracking changes status from Word documents
|
|
161
|
+
|
|
162
|
+
### 7. Advanced Features
|
|
163
|
+
- **Create Images from PDF**: Extract and process images from PDF documents
|
|
164
|
+
- **Document Processing**: Advanced document manipulation and processing
|
|
183
165
|
|
|
184
166
|
## Credentials
|
|
185
167
|
|
|
@@ -198,12 +180,19 @@ This node allows you to automate document processing tasks in your n8n workflows
|
|
|
198
180
|
- Process complex PDFs with enhanced timeout handling (up to 25 minutes)
|
|
199
181
|
- Extract text from PDF documents for data processing
|
|
200
182
|
- Convert various document formats to PDF
|
|
183
|
+
- Extract specific pages from PDF documents for creating shorter versions or digital booklets
|
|
184
|
+
- Add watermarks, stamps, and annotations to documents
|
|
185
|
+
- Compress and optimize PDF files for different use cases
|
|
186
|
+
- Fill interactive PDF forms with data from your workflows
|
|
187
|
+
- Split PDFs based on content, barcodes, or page ranges
|
|
201
188
|
|
|
202
189
|
### Barcode Operations
|
|
203
190
|
- Generate QR codes for product tracking
|
|
204
191
|
- Create product barcodes (EAN-13, UPC-A) for inventory management
|
|
205
192
|
- Generate barcodes for document identification
|
|
206
193
|
- Embed barcodes in documents and reports
|
|
194
|
+
- Read barcodes from images and PDFs for automated processing
|
|
195
|
+
- Process Swiss QR codes for payment transactions
|
|
207
196
|
|
|
208
197
|
### Web Content Processing
|
|
209
198
|
- Convert web pages to PDF for archiving
|
|
@@ -216,18 +205,40 @@ This node allows you to automate document processing tasks in your n8n workflows
|
|
|
216
205
|
- Transform API responses to formatted reports
|
|
217
206
|
- Export analytics data to Excel for stakeholder reports
|
|
218
207
|
- Create automated data processing pipelines
|
|
208
|
+
- Generate documents from templates with dynamic data
|
|
219
209
|
|
|
220
210
|
### Image Processing
|
|
221
211
|
- Crop images for specific dimensions
|
|
222
212
|
- Remove borders from scanned documents
|
|
223
213
|
- Process product images for e-commerce
|
|
224
214
|
- Create thumbnails and optimized images
|
|
215
|
+
- Add watermarks to images for branding
|
|
216
|
+
- Extract text from images using OCR
|
|
217
|
+
- Convert images between different formats
|
|
218
|
+
|
|
219
|
+
### Swiss QR Bill Generation
|
|
220
|
+
- Create compliant Swiss QR Bills for digital payment transactions
|
|
221
|
+
- Generate QR codes with all required payment information
|
|
222
|
+
- Support for multiple languages (English, German, French, Italian)
|
|
223
|
+
- Include creditor and debtor information with structured addresses
|
|
224
|
+
- Add billing information and unstructured messages
|
|
225
|
+
- Generate bills with different separator line styles
|
|
226
|
+
- Support for various reference types (QR Reference, Creditor Reference, No Reference)
|
|
227
|
+
|
|
228
|
+
### Document Generation & Management
|
|
229
|
+
- Generate documents from templates with dynamic data
|
|
230
|
+
- Create PDF/A compliant documents for long-term archiving
|
|
231
|
+
- Manage Word document tracking changes
|
|
232
|
+
- Process multiple documents in batch operations
|
|
233
|
+
- Extract and manage document metadata
|
|
225
234
|
|
|
226
235
|
### Automated Workflows
|
|
227
236
|
- Chain multiple PDF4ME operations together
|
|
228
237
|
- Integrate with email nodes for automated document distribution
|
|
229
238
|
- Connect with storage services for file management
|
|
230
239
|
- Build complete document processing pipelines
|
|
240
|
+
- Automate document classification and routing
|
|
241
|
+
- Create end-to-end document workflows
|
|
231
242
|
|
|
232
243
|
For detailed examples and workflow templates, visit our documentation.
|
|
233
244
|
|
|
@@ -242,15 +253,52 @@ For detailed examples and workflow templates, visit our documentation.
|
|
|
242
253
|
|
|
243
254
|
## Version History
|
|
244
255
|
|
|
256
|
+
### 1.0.0
|
|
257
|
+
- **Current Version**: Production-ready release with comprehensive document processing capabilities
|
|
258
|
+
- 60+ document processing operations covering all major use cases
|
|
259
|
+
- Full integration with PDF4ME API services
|
|
260
|
+
- Complete PDF processing suite including conversion, manipulation, and analysis
|
|
261
|
+
- Advanced image processing capabilities with watermarking, cropping, and format conversion
|
|
262
|
+
- Comprehensive barcode generation and reading functionality
|
|
263
|
+
- Document conversion between multiple formats (PDF, Word, Excel, PowerPoint, HTML, etc.)
|
|
264
|
+
- Enhanced timeout handling for complex operations (up to 25 minutes)
|
|
265
|
+
- Improved async processing with exponential backoff and better error handling
|
|
266
|
+
- Support for multiple input types (Binary Data, Base64, URL, File Path)
|
|
267
|
+
- Advanced OCR capabilities with multi-language support
|
|
268
|
+
- Document protection, signing, and security features
|
|
269
|
+
- Metadata extraction and document analysis tools
|
|
270
|
+
- Swiss QR Bill generation with full compliance standards
|
|
271
|
+
- Document template generation and batch processing
|
|
272
|
+
- All critical lint errors resolved for production readiness
|
|
273
|
+
- Optimized package structure and build validation
|
|
274
|
+
- Enhanced error handling and debugging capabilities
|
|
275
|
+
|
|
276
|
+
### 0.9.0
|
|
277
|
+
- Comprehensive document processing capabilities with 50+ actions
|
|
278
|
+
- Full integration with PDF4ME API services
|
|
279
|
+
- Complete PDF processing suite including conversion, manipulation, and analysis
|
|
280
|
+
- Advanced image processing capabilities with watermarking, cropping, and format conversion
|
|
281
|
+
- Comprehensive barcode generation and reading functionality
|
|
282
|
+
- Document conversion between multiple formats (PDF, Word, Excel, HTML, etc.)
|
|
283
|
+
- Enhanced timeout handling for complex operations (up to 25 minutes)
|
|
284
|
+
- Improved async processing with exponential backoff and better error handling
|
|
285
|
+
- Support for multiple input types (Binary Data, Base64, URL, File Path)
|
|
286
|
+
- Advanced OCR capabilities with multi-language support
|
|
287
|
+
- Document protection, signing, and security features
|
|
288
|
+
- Metadata extraction and document analysis tools
|
|
289
|
+
- All critical lint errors resolved for production readiness
|
|
290
|
+
- Optimized package structure and build validation
|
|
291
|
+
|
|
245
292
|
### 0.8.0
|
|
246
|
-
-
|
|
293
|
+
- Comprehensive document processing capabilities
|
|
247
294
|
- Full integration with PDF4ME API services
|
|
248
|
-
- Support for barcode generation, URL to PDF conversion, PDF to Word conversion, JSON to Excel conversion, and
|
|
295
|
+
- Support for barcode generation, URL to PDF conversion, PDF to Word conversion, JSON to Excel conversion, image cropping, and PDF page extraction
|
|
249
296
|
- Enhanced timeout handling for complex PDF to Word conversions (up to 25 minutes)
|
|
250
297
|
- Improved async processing with exponential backoff and better error handling
|
|
251
298
|
- Support for multiple input types (Binary Data, Base64, URL, File Path)
|
|
252
299
|
- Advanced OCR capabilities with multi-language support
|
|
253
300
|
- Comprehensive barcode generation with 100+ supported formats
|
|
301
|
+
- PDF page extraction for creating shorter versions and digital booklets
|
|
254
302
|
- Standardized API documentation URLs across all files
|
|
255
303
|
- Global installation support for cross-project availability
|
|
256
304
|
|
package/dist/.eslintrc.js
CHANGED
|
@@ -18,129 +18,37 @@ module.exports = {
|
|
|
18
18
|
extraFileExtensions: ['.json'],
|
|
19
19
|
},
|
|
20
20
|
|
|
21
|
-
ignorePatterns: ['.eslintrc.js', '**/*.js', '**/node_modules/**', '**/dist/**'],
|
|
21
|
+
ignorePatterns: ['.eslintrc.js', '**/*.js', '**/node_modules/**', '**/dist/**', 'package.json'],
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
plugins: ['eslint-plugin-n8n-nodes-base'],
|
|
27
|
-
extends: ['plugin:n8n-nodes-base/community'],
|
|
28
|
-
rules: {
|
|
29
|
-
'n8n-nodes-base/community-package-json-name-still-default': 'off',
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
files: ['./credentials/**/*.ts'],
|
|
34
|
-
plugins: ['eslint-plugin-n8n-nodes-base'],
|
|
35
|
-
extends: ['plugin:n8n-nodes-base/credentials'],
|
|
36
|
-
rules: {
|
|
37
|
-
'n8n-nodes-base/cred-class-field-authenticate-type-assertion': 'error',
|
|
38
|
-
'n8n-nodes-base/cred-class-field-display-name-missing-oauth2': 'error',
|
|
39
|
-
'n8n-nodes-base/cred-class-field-display-name-miscased': 'error',
|
|
40
|
-
'n8n-nodes-base/cred-class-field-documentation-url-missing': 'error',
|
|
41
|
-
'n8n-nodes-base/cred-class-field-documentation-url-miscased': 'off',
|
|
42
|
-
'n8n-nodes-base/cred-class-field-name-missing-oauth2': 'error',
|
|
43
|
-
'n8n-nodes-base/cred-class-field-name-unsuffixed': 'error',
|
|
44
|
-
'n8n-nodes-base/cred-class-field-name-uppercase-first-char': 'error',
|
|
45
|
-
'n8n-nodes-base/cred-class-field-properties-assertion': 'error',
|
|
46
|
-
'n8n-nodes-base/cred-class-field-type-options-password-missing': 'error',
|
|
47
|
-
'n8n-nodes-base/cred-class-name-missing-oauth2-suffix': 'error',
|
|
48
|
-
'n8n-nodes-base/cred-class-name-unsuffixed': 'error',
|
|
49
|
-
'n8n-nodes-base/cred-filename-against-convention': 'error',
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
files: ['./nodes/**/*.ts'],
|
|
54
|
-
plugins: ['eslint-plugin-n8n-nodes-base'],
|
|
55
|
-
extends: ['plugin:n8n-nodes-base/nodes'],
|
|
56
|
-
rules: {
|
|
57
|
-
'n8n-nodes-base/node-class-description-credentials-name-unsuffixed': 'error',
|
|
58
|
-
'n8n-nodes-base/node-class-description-display-name-unsuffixed-trigger-node': 'error',
|
|
59
|
-
'n8n-nodes-base/node-class-description-empty-string': 'error',
|
|
60
|
-
'n8n-nodes-base/node-class-description-icon-not-svg': 'error',
|
|
61
|
-
'n8n-nodes-base/node-class-description-inputs-wrong-regular-node': 'off',
|
|
62
|
-
'n8n-nodes-base/node-class-description-inputs-wrong-trigger-node': 'error',
|
|
63
|
-
'n8n-nodes-base/node-class-description-missing-subtitle': 'error',
|
|
64
|
-
'n8n-nodes-base/node-class-description-non-core-color-present': 'error',
|
|
65
|
-
'n8n-nodes-base/node-class-description-name-miscased': 'error',
|
|
66
|
-
'n8n-nodes-base/node-class-description-name-unsuffixed-trigger-node': 'error',
|
|
67
|
-
'n8n-nodes-base/node-class-description-outputs-wrong': 'off',
|
|
68
|
-
'n8n-nodes-base/node-dirname-against-convention': 'error',
|
|
69
|
-
'n8n-nodes-base/node-execute-block-double-assertion-for-items': 'error',
|
|
70
|
-
'n8n-nodes-base/node-execute-block-wrong-error-thrown': 'error',
|
|
71
|
-
'n8n-nodes-base/node-filename-against-convention': 'error',
|
|
72
|
-
'n8n-nodes-base/node-param-array-type-assertion': 'error',
|
|
73
|
-
'n8n-nodes-base/node-param-color-type-unused': 'error',
|
|
74
|
-
'n8n-nodes-base/node-param-default-missing': 'error',
|
|
75
|
-
'n8n-nodes-base/node-param-default-wrong-for-boolean': 'error',
|
|
76
|
-
'n8n-nodes-base/node-param-default-wrong-for-collection': 'error',
|
|
77
|
-
'n8n-nodes-base/node-param-default-wrong-for-fixed-collection': 'error',
|
|
78
|
-
'n8n-nodes-base/node-param-default-wrong-for-fixed-collection': 'error',
|
|
79
|
-
'n8n-nodes-base/node-param-default-wrong-for-multi-options': 'error',
|
|
80
|
-
'n8n-nodes-base/node-param-default-wrong-for-number': 'error',
|
|
81
|
-
'n8n-nodes-base/node-param-default-wrong-for-simplify': 'error',
|
|
82
|
-
'n8n-nodes-base/node-param-default-wrong-for-string': 'error',
|
|
83
|
-
'n8n-nodes-base/node-param-description-boolean-without-whether': 'error',
|
|
84
|
-
'n8n-nodes-base/node-param-description-comma-separated-hyphen': 'error',
|
|
85
|
-
'n8n-nodes-base/node-param-description-empty-string': 'error',
|
|
86
|
-
'n8n-nodes-base/node-param-description-excess-final-period': 'error',
|
|
87
|
-
'n8n-nodes-base/node-param-description-excess-inner-whitespace': 'error',
|
|
88
|
-
'n8n-nodes-base/node-param-description-identical-to-display-name': 'error',
|
|
89
|
-
'n8n-nodes-base/node-param-description-line-break-html-tag': 'error',
|
|
90
|
-
'n8n-nodes-base/node-param-description-lowercase-first-char': 'error',
|
|
91
|
-
'n8n-nodes-base/node-param-description-miscased-id': 'error',
|
|
92
|
-
'n8n-nodes-base/node-param-description-miscased-json': 'error',
|
|
93
|
-
'n8n-nodes-base/node-param-description-miscased-url': 'error',
|
|
94
|
-
'n8n-nodes-base/node-param-description-missing-final-period': 'error',
|
|
95
|
-
'n8n-nodes-base/node-param-description-missing-for-ignore-ssl-issues': 'error',
|
|
96
|
-
'n8n-nodes-base/node-param-description-missing-for-return-all': 'error',
|
|
97
|
-
'n8n-nodes-base/node-param-description-missing-for-simplify': 'error',
|
|
98
|
-
'n8n-nodes-base/node-param-description-missing-from-dynamic-multi-options': 'error',
|
|
99
|
-
'n8n-nodes-base/node-param-description-missing-from-dynamic-options': 'error',
|
|
100
|
-
'n8n-nodes-base/node-param-description-missing-from-limit': 'error',
|
|
101
|
-
'n8n-nodes-base/node-param-description-unencoded-angle-brackets': 'error',
|
|
102
|
-
'n8n-nodes-base/node-param-description-unneeded-backticks': 'error',
|
|
103
|
-
'n8n-nodes-base/node-param-description-untrimmed': 'error',
|
|
104
|
-
'n8n-nodes-base/node-param-description-url-missing-protocol': 'error',
|
|
105
|
-
'n8n-nodes-base/node-param-description-weak': 'error',
|
|
106
|
-
'n8n-nodes-base/node-param-description-wrong-for-dynamic-multi-options': 'error',
|
|
107
|
-
'n8n-nodes-base/node-param-description-wrong-for-dynamic-options': 'error',
|
|
108
|
-
'n8n-nodes-base/node-param-description-wrong-for-ignore-ssl-issues': 'error',
|
|
109
|
-
'n8n-nodes-base/node-param-description-wrong-for-limit': 'error',
|
|
110
|
-
'n8n-nodes-base/node-param-description-wrong-for-return-all': 'error',
|
|
111
|
-
'n8n-nodes-base/node-param-description-wrong-for-simplify': 'error',
|
|
112
|
-
'n8n-nodes-base/node-param-description-wrong-for-upsert': 'error',
|
|
113
|
-
'n8n-nodes-base/node-param-display-name-excess-inner-whitespace': 'error',
|
|
114
|
-
'n8n-nodes-base/node-param-display-name-miscased-id': 'error',
|
|
115
|
-
'n8n-nodes-base/node-param-display-name-miscased': 'error',
|
|
116
|
-
'n8n-nodes-base/node-param-display-name-not-first-position': 'error',
|
|
117
|
-
'n8n-nodes-base/node-param-display-name-untrimmed': 'error',
|
|
118
|
-
'n8n-nodes-base/node-param-display-name-wrong-for-dynamic-multi-options': 'error',
|
|
119
|
-
'n8n-nodes-base/node-param-display-name-wrong-for-dynamic-options': 'error',
|
|
120
|
-
'n8n-nodes-base/node-param-display-name-wrong-for-simplify': 'error',
|
|
121
|
-
'n8n-nodes-base/node-param-display-name-wrong-for-update-fields': 'error',
|
|
122
|
-
'n8n-nodes-base/node-param-min-value-wrong-for-limit': 'error',
|
|
123
|
-
'n8n-nodes-base/node-param-multi-options-type-unsorted-items': 'error',
|
|
124
|
-
'n8n-nodes-base/node-param-name-untrimmed': 'error',
|
|
125
|
-
'n8n-nodes-base/node-param-operation-option-action-wrong-for-get-many': 'error',
|
|
126
|
-
'n8n-nodes-base/node-param-operation-option-description-wrong-for-get-many': 'error',
|
|
127
|
-
'n8n-nodes-base/node-param-operation-option-without-action': 'error',
|
|
128
|
-
'n8n-nodes-base/node-param-operation-without-no-data-expression': 'error',
|
|
129
|
-
'n8n-nodes-base/node-param-option-description-identical-to-name': 'error',
|
|
130
|
-
'n8n-nodes-base/node-param-option-name-containing-star': 'error',
|
|
131
|
-
'n8n-nodes-base/node-param-option-name-duplicate': 'error',
|
|
132
|
-
'n8n-nodes-base/node-param-option-name-wrong-for-get-many': 'error',
|
|
133
|
-
'n8n-nodes-base/node-param-option-name-wrong-for-upsert': 'error',
|
|
134
|
-
'n8n-nodes-base/node-param-option-value-duplicate': 'error',
|
|
135
|
-
'n8n-nodes-base/node-param-options-type-unsorted-items': 'error',
|
|
136
|
-
'n8n-nodes-base/node-param-placeholder-miscased-id': 'error',
|
|
137
|
-
'n8n-nodes-base/node-param-placeholder-missing-email': 'error',
|
|
138
|
-
'n8n-nodes-base/node-param-required-false': 'error',
|
|
139
|
-
'n8n-nodes-base/node-param-resource-with-plural-option': 'error',
|
|
140
|
-
'n8n-nodes-base/node-param-resource-without-no-data-expression': 'error',
|
|
141
|
-
'n8n-nodes-base/node-param-type-options-missing-from-limit': 'error',
|
|
142
|
-
'n8n-nodes-base/node-param-type-options-password-missing': 'error',
|
|
143
|
-
},
|
|
144
|
-
},
|
|
23
|
+
plugins: [
|
|
24
|
+
'@typescript-eslint',
|
|
25
|
+
'eslint-plugin-n8n-nodes-base',
|
|
145
26
|
],
|
|
27
|
+
|
|
28
|
+
extends: [
|
|
29
|
+
'eslint:recommended',
|
|
30
|
+
'plugin:@typescript-eslint/recommended',
|
|
31
|
+
],
|
|
32
|
+
|
|
33
|
+
rules: {
|
|
34
|
+
// Basic TypeScript rules
|
|
35
|
+
'@typescript-eslint/no-unused-vars': 'error',
|
|
36
|
+
'@typescript-eslint/no-explicit-any': 'warn',
|
|
37
|
+
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
38
|
+
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
39
|
+
'@typescript-eslint/no-inferrable-types': 'off',
|
|
40
|
+
|
|
41
|
+
// General code quality rules
|
|
42
|
+
'no-console': 'warn',
|
|
43
|
+
'no-debugger': 'error',
|
|
44
|
+
'no-unused-vars': 'off', // Use TypeScript version instead
|
|
45
|
+
'prefer-const': 'error',
|
|
46
|
+
'no-var': 'error',
|
|
47
|
+
|
|
48
|
+
// Formatting rules
|
|
49
|
+
'indent': ['error', 'tab'],
|
|
50
|
+
'quotes': ['error', 'single'],
|
|
51
|
+
'semi': ['error', 'always'],
|
|
52
|
+
'comma-dangle': ['error', 'always-multiline'],
|
|
53
|
+
},
|
|
146
54
|
};
|