@peedief/n8n-nodes-peedief 0.1.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 ADDED
@@ -0,0 +1,38 @@
1
+ # n8n-nodes-peedief
2
+
3
+ Generate PDFs from Peedief inside n8n.
4
+
5
+ ## Actions
6
+
7
+ - **HTML to PDF**: send raw HTML to `POST /api/pdf`.
8
+ - **Template to PDF**: render a saved Peedief template with JSON context through `POST /api/templates/by-name/:templateName/pdf`.
9
+
10
+ Both actions authenticate with the `x-api-key` header and return Peedief's PDF metadata, including `downloadUrl`, `previewUrl`, `fileName`, and `fileSize`. You can optionally download the generated PDF into n8n binary data.
11
+
12
+ ## Development
13
+
14
+ ```bash
15
+ npm install
16
+ npm run build
17
+ npm run dev
18
+ ```
19
+
20
+ `npm run dev` starts a local n8n instance with this node loaded.
21
+
22
+ ## Credentials
23
+
24
+ Create a **Peedief API** credential in n8n:
25
+
26
+ - **API Key**: your Peedief API key.
27
+ - **Base URL**: your Peedief API URL, for example `https://peedief.com/api`.
28
+
29
+ ## Private Install
30
+
31
+ Build the package and install it into your n8n instance:
32
+
33
+ ```bash
34
+ npm run build
35
+ npm pack
36
+ ```
37
+
38
+ Then install the generated `.tgz` package in n8n as a community/private node.
@@ -0,0 +1,10 @@
1
+ import type { ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class PeediefApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ icon: "file:peedief.svg";
6
+ documentationUrl: string;
7
+ test: ICredentialTestRequest;
8
+ properties: INodeProperties[];
9
+ }
10
+ //# sourceMappingURL=PeediefApi.credentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PeediefApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/PeediefApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE7F,qBAAa,UAAW,YAAW,eAAe;IACjD,IAAI,SAAgB;IAEpB,WAAW,SAAiB;IAE5B,IAAI,EAAG,kBAAkB,CAAU;IAEnC,gBAAgB,SAAyB;IAEzC,IAAI,EAAE,sBAAsB,CAmB1B;IAEF,UAAU,EAAE,eAAe,EAAE,CAqB3B;CACF"}
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PeediefApi = void 0;
4
+ class PeediefApi {
5
+ name = 'peediefApi';
6
+ displayName = 'Peedief API';
7
+ icon = 'file:peedief.svg';
8
+ documentationUrl = 'https://peedief.com';
9
+ test = {
10
+ request: {
11
+ method: 'GET',
12
+ baseURL: '={{$credentials.baseUrl.replace(/\\/+$/, "")}}',
13
+ url: '/check',
14
+ headers: {
15
+ 'x-api-key': '={{$credentials.apiKey}}',
16
+ },
17
+ json: true,
18
+ },
19
+ rules: [
20
+ {
21
+ type: 'responseCode',
22
+ properties: {
23
+ value: 200,
24
+ message: 'API key accepted.',
25
+ },
26
+ },
27
+ ],
28
+ };
29
+ properties = [
30
+ {
31
+ displayName: 'API Key',
32
+ name: 'apiKey',
33
+ type: 'string',
34
+ typeOptions: {
35
+ password: true,
36
+ },
37
+ default: '',
38
+ required: true,
39
+ description: 'Peedief API key sent as the x-api-key header',
40
+ },
41
+ {
42
+ displayName: 'Base URL',
43
+ name: 'baseUrl',
44
+ type: 'string',
45
+ default: 'https://peedief.com/api',
46
+ placeholder: 'https://peedief.com/api',
47
+ required: true,
48
+ description: 'Peedief API base URL, without a trailing slash',
49
+ },
50
+ ];
51
+ }
52
+ exports.PeediefApi = PeediefApi;
53
+ //# sourceMappingURL=PeediefApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PeediefApi.credentials.js","sourceRoot":"","sources":["../../credentials/PeediefApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,UAAU;IACtB,IAAI,GAAG,YAAY,CAAC;IAEpB,WAAW,GAAG,aAAa,CAAC;IAE5B,IAAI,GAAG,kBAA2B,CAAC;IAEnC,gBAAgB,GAAG,qBAAqB,CAAC;IAEzC,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,MAAM,EAAE,KAAK;YACb,OAAO,EAAE,gDAAgD;YACzD,GAAG,EAAE,QAAQ;YACb,OAAO,EAAE;gBACR,WAAW,EAAE,0BAA0B;aACvC;YACD,IAAI,EAAE,IAAI;SACV;QACD,KAAK,EAAE;YACN;gBACC,IAAI,EAAE,cAAc;gBACpB,UAAU,EAAE;oBACX,KAAK,EAAE,GAAG;oBACV,OAAO,EAAE,mBAAmB;iBAC5B;aACD;SACD;KACD,CAAC;IAEF,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE;gBACZ,QAAQ,EAAE,IAAI;aACd;YACD,OAAO,EAAE,EAAE;YACX,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,8CAA8C;SAC3D;QACD;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,yBAAyB;YAClC,WAAW,EAAE,yBAAyB;YACtC,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,gDAAgD;SAC7D;KACD,CAAC;CACF;AApDD,gCAoDC"}
@@ -0,0 +1,4 @@
1
+ <svg width="256" height="256" viewBox="0 0 256 256" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M125.195 0H51.5C43.9412 0 36.6927 2.69696 31.3473 7.49795C26.002 12.2988 23 18.8105 23 25.6V230.4C23 237.19 26.002 243.701 31.3473 248.502C36.6927 253.303 43.9412 256 51.5 256H203.5C211.059 256 218.307 253.303 223.653 248.502C228.998 243.701 232 237.19 232 230.4V95.936C232 89.1477 228.998 82.6368 223.653 77.8368L145.347 7.49682C140.002 2.69639 132.754 0.000142222 125.195 0Z" fill="#7e22ce" />
3
+ <path d="M75.8488 202V75.1H133.809C143.289 75.1 151.329 76.72 157.929 79.96C164.529 83.2 169.509 87.82 172.869 93.82C176.349 99.82 178.089 107.08 178.089 115.6C178.089 124.12 176.349 131.44 172.869 137.56C169.509 143.56 164.529 148.18 157.929 151.42C151.329 154.66 143.289 156.28 133.809 156.28H103.749V202H75.8488ZM103.749 134.68H129.129C136.329 134.68 141.789 133.06 145.509 129.82C149.349 126.58 151.269 121.84 151.269 115.6C151.269 109.36 149.349 104.68 145.509 101.56C141.789 98.44 136.329 96.88 129.129 96.88H103.749V134.68Z" fill="white" />
4
+ </svg>
@@ -0,0 +1,6 @@
1
+ import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class Peedief implements INodeType {
3
+ description: INodeTypeDescription;
4
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
+ }
6
+ //# sourceMappingURL=Peedief.node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Peedief.node.d.ts","sourceRoot":"","sources":["../../../nodes/Peedief/Peedief.node.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEX,iBAAiB,EAEjB,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EACpB,MAAM,cAAc,CAAC;AAatB,qBAAa,OAAQ,YAAW,SAAS;IACxC,WAAW,EAAE,oBAAoB,CAiO/B;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CA8CvE"}
@@ -0,0 +1,378 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Peedief = void 0;
4
+ const n8n_workflow_1 = require("n8n-workflow");
5
+ class Peedief {
6
+ description = {
7
+ displayName: 'Peedief',
8
+ name: 'peedief',
9
+ icon: 'file:peedief.svg',
10
+ group: ['transform'],
11
+ version: 1,
12
+ subtitle: '={{$parameter["operation"] === "htmlToPdf" ? "HTML to PDF" : "Template to PDF"}}',
13
+ description: 'Generate PDFs from HTML or Peedief templates',
14
+ defaults: {
15
+ name: 'Peedief',
16
+ },
17
+ usableAsTool: true,
18
+ inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
19
+ outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
20
+ credentials: [
21
+ {
22
+ name: 'peediefApi',
23
+ required: true,
24
+ },
25
+ ],
26
+ requestDefaults: {
27
+ headers: {
28
+ Accept: 'application/json',
29
+ 'Content-Type': 'application/json',
30
+ },
31
+ },
32
+ properties: [
33
+ {
34
+ displayName: 'Operation',
35
+ name: 'operation',
36
+ type: 'options',
37
+ noDataExpression: true,
38
+ options: [
39
+ {
40
+ name: 'HTML to PDF',
41
+ value: 'htmlToPdf',
42
+ description: 'Generate a PDF from raw HTML',
43
+ action: 'Generate a PDF from HTML',
44
+ },
45
+ {
46
+ name: 'Template to PDF',
47
+ value: 'templateToPdf',
48
+ description: 'Generate a PDF from a saved Peedief template',
49
+ action: 'Generate a PDF from a template',
50
+ },
51
+ ],
52
+ default: 'htmlToPdf',
53
+ },
54
+ {
55
+ displayName: 'HTML',
56
+ name: 'html',
57
+ type: 'string',
58
+ typeOptions: {
59
+ rows: 12,
60
+ },
61
+ default: '',
62
+ required: true,
63
+ description: 'Complete HTML document or fragment to convert to PDF',
64
+ displayOptions: {
65
+ show: {
66
+ operation: ['htmlToPdf'],
67
+ },
68
+ },
69
+ },
70
+ {
71
+ displayName: 'Template Name',
72
+ name: 'templateName',
73
+ type: 'string',
74
+ default: '',
75
+ required: true,
76
+ description: 'Name of the saved Peedief template to render',
77
+ displayOptions: {
78
+ show: {
79
+ operation: ['templateToPdf'],
80
+ },
81
+ },
82
+ },
83
+ {
84
+ displayName: 'Context JSON',
85
+ name: 'contextJson',
86
+ type: 'json',
87
+ default: '{\n "sampleKey": "value"\n}',
88
+ required: true,
89
+ description: 'JSON object passed to the template renderer',
90
+ displayOptions: {
91
+ show: {
92
+ operation: ['templateToPdf'],
93
+ },
94
+ },
95
+ },
96
+ {
97
+ displayName: 'File Name',
98
+ name: 'fileName',
99
+ type: 'string',
100
+ default: '',
101
+ placeholder: 'invoice.pdf',
102
+ description: 'Optional output file name. Peedief will generate one when left empty.',
103
+ },
104
+ {
105
+ displayName: 'Download PDF',
106
+ name: 'downloadPdf',
107
+ type: 'boolean',
108
+ default: false,
109
+ description: 'Whether to fetch the generated PDF and attach it as binary data',
110
+ },
111
+ {
112
+ displayName: 'Binary Property',
113
+ name: 'binaryPropertyName',
114
+ type: 'string',
115
+ default: 'data',
116
+ required: true,
117
+ description: 'Name of the binary property that receives the PDF',
118
+ displayOptions: {
119
+ show: {
120
+ downloadPdf: [true],
121
+ },
122
+ },
123
+ },
124
+ {
125
+ displayName: 'PDF Options',
126
+ name: 'pdfOptions',
127
+ type: 'collection',
128
+ placeholder: 'Add option',
129
+ default: {},
130
+ displayOptions: {
131
+ show: {
132
+ operation: ['htmlToPdf'],
133
+ },
134
+ },
135
+ options: [
136
+ {
137
+ displayName: 'Format',
138
+ name: 'format',
139
+ type: 'options',
140
+ options: [
141
+ { name: 'A3', value: 'A3' },
142
+ { name: 'A4', value: 'A4' },
143
+ { name: 'A5', value: 'A5' },
144
+ { name: 'Letter', value: 'Letter' },
145
+ ],
146
+ default: 'A4',
147
+ description: 'Paper format to use for the PDF',
148
+ },
149
+ {
150
+ displayName: 'Height',
151
+ name: 'height',
152
+ type: 'string',
153
+ default: '',
154
+ placeholder: '11in',
155
+ description: 'Custom paper height. Leave empty when using a standard format.',
156
+ },
157
+ {
158
+ displayName: 'Landscape',
159
+ name: 'landscape',
160
+ type: 'boolean',
161
+ default: false,
162
+ description: 'Whether to render the PDF in landscape orientation',
163
+ },
164
+ {
165
+ displayName: 'Margin Bottom',
166
+ name: 'marginBottom',
167
+ type: 'number',
168
+ default: 10,
169
+ },
170
+ {
171
+ displayName: 'Margin Left',
172
+ name: 'marginLeft',
173
+ type: 'number',
174
+ default: 10,
175
+ },
176
+ {
177
+ displayName: 'Margin Right',
178
+ name: 'marginRight',
179
+ type: 'number',
180
+ default: 10,
181
+ },
182
+ {
183
+ displayName: 'Margin Top',
184
+ name: 'marginTop',
185
+ type: 'number',
186
+ default: 10,
187
+ },
188
+ {
189
+ displayName: 'Margin Unit',
190
+ name: 'marginUnit',
191
+ type: 'options',
192
+ options: [
193
+ { name: 'Millimeters', value: 'mm' },
194
+ { name: 'Centimeters', value: 'cm' },
195
+ { name: 'Inches', value: 'in' },
196
+ { name: 'Pixels', value: 'px' },
197
+ ],
198
+ default: 'mm',
199
+ description: 'Unit used for numeric margin fields',
200
+ },
201
+ {
202
+ displayName: 'Print Background',
203
+ name: 'printBackground',
204
+ type: 'boolean',
205
+ default: true,
206
+ description: 'Whether to print CSS backgrounds',
207
+ },
208
+ {
209
+ displayName: 'Scale',
210
+ name: 'scale',
211
+ type: 'number',
212
+ typeOptions: {
213
+ minValue: 0.1,
214
+ maxValue: 2,
215
+ numberPrecision: 2,
216
+ },
217
+ default: 1,
218
+ description: 'Rendering scale from 0.1 to 2',
219
+ },
220
+ {
221
+ displayName: 'Width',
222
+ name: 'width',
223
+ type: 'string',
224
+ default: '',
225
+ placeholder: '8.5in',
226
+ description: 'Custom paper width. Leave empty when using a standard format.',
227
+ },
228
+ ],
229
+ },
230
+ ],
231
+ };
232
+ async execute() {
233
+ const items = this.getInputData();
234
+ const returnData = [];
235
+ const credentials = await this.getCredentials('peediefApi');
236
+ for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
237
+ try {
238
+ const operation = this.getNodeParameter('operation', itemIndex);
239
+ const requestOptions = buildRequestOptions(this, credentials, operation, itemIndex);
240
+ const response = await this.helpers.httpRequest.call(this, requestOptions);
241
+ const executionItem = {
242
+ json: response,
243
+ pairedItem: {
244
+ item: itemIndex,
245
+ },
246
+ };
247
+ const shouldDownloadPdf = this.getNodeParameter('downloadPdf', itemIndex);
248
+ if (shouldDownloadPdf) {
249
+ const binaryPropertyName = this.getNodeParameter('binaryPropertyName', itemIndex);
250
+ executionItem.binary = {
251
+ [binaryPropertyName]: await fetchPdfBinary(this, response, binaryPropertyName),
252
+ };
253
+ }
254
+ returnData.push(executionItem);
255
+ }
256
+ catch (error) {
257
+ if (this.continueOnFail()) {
258
+ returnData.push({
259
+ json: {
260
+ error: error instanceof Error ? error.message : String(error),
261
+ },
262
+ pairedItem: {
263
+ item: itemIndex,
264
+ },
265
+ });
266
+ continue;
267
+ }
268
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), error, { itemIndex });
269
+ }
270
+ }
271
+ return [returnData];
272
+ }
273
+ }
274
+ exports.Peedief = Peedief;
275
+ function buildRequestOptions(executeFunctions, credentials, operation, itemIndex) {
276
+ const baseUrl = normalizeBaseUrl(credentials.baseUrl);
277
+ const fileName = executeFunctions.getNodeParameter('fileName', itemIndex, '');
278
+ if (operation === 'templateToPdf') {
279
+ const templateName = executeFunctions.getNodeParameter('templateName', itemIndex);
280
+ const contextJson = executeFunctions.getNodeParameter('contextJson', itemIndex);
281
+ return {
282
+ method: 'POST',
283
+ url: `${baseUrl}/templates/by-name/${encodeURIComponent(templateName)}/pdf`,
284
+ headers: buildHeaders(credentials.apiKey),
285
+ json: true,
286
+ body: {
287
+ contextJson: parseJsonObject(executeFunctions, contextJson, 'Context JSON'),
288
+ ...(fileName.trim() ? { fileName: fileName.trim() } : {}),
289
+ },
290
+ };
291
+ }
292
+ const html = executeFunctions.getNodeParameter('html', itemIndex);
293
+ return {
294
+ method: 'POST',
295
+ url: `${baseUrl}/pdf`,
296
+ headers: buildHeaders(credentials.apiKey),
297
+ json: true,
298
+ body: {
299
+ html,
300
+ ...(fileName.trim() ? { fileName: fileName.trim() } : {}),
301
+ options: buildPdfOptions(executeFunctions.getNodeParameter('pdfOptions', itemIndex, {})),
302
+ },
303
+ };
304
+ }
305
+ async function fetchPdfBinary(executeFunctions, response, binaryPropertyName) {
306
+ if (!response.downloadUrl || typeof response.downloadUrl !== 'string') {
307
+ throw new n8n_workflow_1.NodeApiError(executeFunctions.getNode(), {
308
+ message: 'Peedief did not return a downloadUrl for the generated PDF.',
309
+ });
310
+ }
311
+ const pdfBuffer = await executeFunctions.helpers.httpRequest.call(executeFunctions, {
312
+ method: 'GET',
313
+ url: response.downloadUrl,
314
+ json: false,
315
+ encoding: 'arraybuffer',
316
+ });
317
+ const fileName = typeof response.fileName === 'string' && response.fileName.trim()
318
+ ? response.fileName.trim()
319
+ : `${binaryPropertyName}.pdf`;
320
+ return await executeFunctions.helpers.prepareBinaryData(pdfBuffer, fileName, 'application/pdf');
321
+ }
322
+ function buildHeaders(apiKey) {
323
+ return {
324
+ Accept: 'application/json',
325
+ 'Content-Type': 'application/json',
326
+ 'x-api-key': apiKey,
327
+ };
328
+ }
329
+ function normalizeBaseUrl(baseUrl) {
330
+ return baseUrl.trim().replace(/\/+$/, '');
331
+ }
332
+ function parseJsonObject(executeFunctions, value, fieldName) {
333
+ if (typeof value === 'string') {
334
+ try {
335
+ const parsed = JSON.parse(value);
336
+ if (isJsonObject(parsed)) {
337
+ return parsed;
338
+ }
339
+ }
340
+ catch {
341
+ throw new n8n_workflow_1.NodeOperationError(executeFunctions.getNode(), `${fieldName} must be valid JSON.`);
342
+ }
343
+ throw new n8n_workflow_1.NodeOperationError(executeFunctions.getNode(), `${fieldName} must be a JSON object.`);
344
+ }
345
+ if (!isJsonObject(value)) {
346
+ throw new n8n_workflow_1.NodeOperationError(executeFunctions.getNode(), `${fieldName} must be a JSON object.`);
347
+ }
348
+ return value;
349
+ }
350
+ function isJsonObject(value) {
351
+ return Boolean(value && typeof value === 'object' && !Array.isArray(value));
352
+ }
353
+ function buildPdfOptions(options) {
354
+ const marginUnit = typeof options.marginUnit === 'string' && options.marginUnit ? options.marginUnit : 'mm';
355
+ const margin = buildMargin(options, marginUnit);
356
+ return {
357
+ ...(typeof options.format === 'string' && options.format ? { format: options.format } : {}),
358
+ ...(typeof options.landscape === 'boolean' ? { landscape: options.landscape } : {}),
359
+ ...(typeof options.printBackground === 'boolean' ? { printBackground: options.printBackground } : {}),
360
+ ...(typeof options.scale === 'number' ? { scale: options.scale } : {}),
361
+ ...(typeof options.width === 'string' && options.width.trim() ? { width: options.width.trim() } : {}),
362
+ ...(typeof options.height === 'string' && options.height.trim() ? { height: options.height.trim() } : {}),
363
+ ...(margin ? { margin } : {}),
364
+ };
365
+ }
366
+ function buildMargin(options, marginUnit) {
367
+ const sides = [
368
+ ['top', options.marginTop],
369
+ ['right', options.marginRight],
370
+ ['bottom', options.marginBottom],
371
+ ['left', options.marginLeft],
372
+ ];
373
+ const margin = Object.fromEntries(sides
374
+ .filter(([, value]) => typeof value === 'number')
375
+ .map(([side, value]) => [side, `${value}${marginUnit}`]));
376
+ return Object.keys(margin).length ? margin : undefined;
377
+ }
378
+ //# sourceMappingURL=Peedief.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Peedief.node.js","sourceRoot":"","sources":["../../../nodes/Peedief/Peedief.node.ts"],"names":[],"mappings":";;;AAQA,+CAAqF;AAYrF,MAAa,OAAO;IACnB,WAAW,GAAyB;QACnC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,CAAC,WAAW,CAAC;QACpB,OAAO,EAAE,CAAC;QACV,QAAQ,EAAE,kFAAkF;QAC5F,WAAW,EAAE,8CAA8C;QAC3D,QAAQ,EAAE;YACT,IAAI,EAAE,SAAS;SACf;QACD,YAAY,EAAE,IAAI;QAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;QAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;QACnC,WAAW,EAAE;YACZ;gBACC,IAAI,EAAE,YAAY;gBAClB,QAAQ,EAAE,IAAI;aACd;SACD;QACD,eAAe,EAAE;YAChB,OAAO,EAAE;gBACR,MAAM,EAAE,kBAAkB;gBAC1B,cAAc,EAAE,kBAAkB;aAClC;SACD;QACD,UAAU,EAAE;YACX;gBAC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AI,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,UAAU,EAAE,CAAC,CAAC,CACzD,CAAC;IAEF,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACxD,CAAC"}
@@ -0,0 +1,14 @@
1
+ {
2
+ "node": "n8n-nodes-peedief.peedief",
3
+ "nodeVersion": "1.0",
4
+ "codexVersion": "1.0",
5
+ "categories": ["Productivity"],
6
+ "resources": {
7
+ "primaryDocumentation": [
8
+ {
9
+ "url": "https://peedief.com"
10
+ }
11
+ ]
12
+ },
13
+ "alias": ["PDF", "HTML to PDF", "Template to PDF", "Document"]
14
+ }
@@ -0,0 +1,4 @@
1
+ <svg width="256" height="256" viewBox="0 0 256 256" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M125.195 0H51.5C43.9412 0 36.6927 2.69696 31.3473 7.49795C26.002 12.2988 23 18.8105 23 25.6V230.4C23 237.19 26.002 243.701 31.3473 248.502C36.6927 253.303 43.9412 256 51.5 256H203.5C211.059 256 218.307 253.303 223.653 248.502C228.998 243.701 232 237.19 232 230.4V95.936C232 89.1477 228.998 82.6368 223.653 77.8368L145.347 7.49682C140.002 2.69639 132.754 0.000142222 125.195 0Z" fill="#7e22ce" />
3
+ <path d="M75.8488 202V75.1H133.809C143.289 75.1 151.329 76.72 157.929 79.96C164.529 83.2 169.509 87.82 172.869 93.82C176.349 99.82 178.089 107.08 178.089 115.6C178.089 124.12 176.349 131.44 172.869 137.56C169.509 143.56 164.529 148.18 157.929 151.42C151.329 154.66 143.289 156.28 133.809 156.28H103.749V202H75.8488ZM103.749 134.68H129.129C136.329 134.68 141.789 133.06 145.509 129.82C149.349 126.58 151.269 121.84 151.269 115.6C151.269 109.36 149.349 104.68 145.509 101.56C141.789 98.44 136.329 96.88 129.129 96.88H103.749V134.68Z" fill="white" />
4
+ </svg>
package/package.json ADDED
@@ -0,0 +1,56 @@
1
+ {
2
+ "name": "@peedief/n8n-nodes-peedief",
3
+ "version": "0.1.0",
4
+ "description": "n8n community node for generating PDFs with Peedief.",
5
+ "keywords": [
6
+ "n8n-community-node-package",
7
+ "n8n",
8
+ "peedief",
9
+ "pdf",
10
+ "html-to-pdf",
11
+ "template-to-pdf"
12
+ ],
13
+ "license": "MIT",
14
+ "author": {
15
+ "name": "Peedief"
16
+ },
17
+ "homepage": "https://peedief.com",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/peedief/n8n-nodes-peedief.git"
21
+ },
22
+ "publishConfig": {
23
+ "access": "public"
24
+ },
25
+ "main": "dist/nodes/Peedief/Peedief.node.js",
26
+ "scripts": {
27
+ "build": "tsc && node scripts/copy-assets.mjs",
28
+ "dev": "n8n-node dev",
29
+ "lint": "n8n-node lint",
30
+ "lint:fix": "n8n-node lint --fix",
31
+ "release": "n8n-node release",
32
+ "prepack": "npm run build"
33
+ },
34
+ "files": [
35
+ "dist"
36
+ ],
37
+ "n8n": {
38
+ "n8nNodesApiVersion": 1,
39
+ "credentials": [
40
+ "dist/credentials/PeediefApi.credentials.js"
41
+ ],
42
+ "nodes": [
43
+ "dist/nodes/Peedief/Peedief.node.js"
44
+ ]
45
+ },
46
+ "devDependencies": {
47
+ "@n8n/node-cli": "^0.31.0",
48
+ "@types/node": "^22.15.21",
49
+ "eslint": "^9.39.4",
50
+ "n8n-workflow": "^2.16.0",
51
+ "typescript": "^5.8.3"
52
+ },
53
+ "peerDependencies": {
54
+ "n8n-workflow": "*"
55
+ }
56
+ }