n8n-nodes-exa-official 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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Exa Labs
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,131 @@
1
+ # n8n-nodes-exa-official
2
+
3
+ This is an n8n community node that provides integration with the Exa API for intelligent web search and content extraction.
4
+
5
+ [Exa](https://exa.ai) is an AI-powered search engine that provides embeddings-based semantic search, content extraction, and AI-powered research capabilities.
6
+
7
+ [n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.
8
+
9
+ [Installation](#installation)
10
+ [Operations](#operations)
11
+ [Credentials](#credentials)
12
+ [Compatibility](#compatibility)
13
+ [Usage](#usage)
14
+ [Resources](#resources)
15
+
16
+ ## Installation
17
+
18
+ Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
19
+
20
+ ## Operations
21
+
22
+ This node supports the following Exa API operations:
23
+
24
+ ### Search
25
+ - **Search**: Intelligently search the web with neural or keyword-based search
26
+ - Supports multiple search types: auto, neural, keyword, fast
27
+ - Filter by domain, date, category, and text content
28
+ - Extract page contents (text, highlights, summaries)
29
+ - Configure livecrawl and subpage crawling
30
+
31
+ ### Contents
32
+ - **Get Contents**: Retrieve cleaned text, highlights, and summaries from a list of URLs
33
+
34
+ ### Find Similar
35
+ - **Find Similar Links**: Discover pages similar to a given URL
36
+
37
+ ### Answer
38
+ - **Get Answer**: Get an AI-generated answer to a query using Exa's research capabilities
39
+
40
+ ## Credentials
41
+
42
+ To use this node, you need an Exa API key. You can obtain one by:
43
+
44
+ 1. Signing up at [dashboard.exa.ai](https://dashboard.exa.ai)
45
+ 2. Navigating to the API Keys section
46
+ 3. Creating a new API key
47
+
48
+ Add the API key to your n8n credentials as "Exa API".
49
+
50
+ ## Compatibility
51
+
52
+ - Minimum n8n version: 1.0.0
53
+ - Tested against n8n version: 1.60.0
54
+
55
+ ## Usage
56
+
57
+ ### Basic Search Example
58
+
59
+ 1. Add the Exa node to your workflow
60
+ 2. Select "Search" as the resource
61
+ 3. Enter your search query (e.g., "Latest AI research papers")
62
+ 4. Configure search type (auto, neural, keyword, or fast)
63
+ 5. Optionally add filters:
64
+ - Category (research paper, news, company, etc.)
65
+ - Date range (published date)
66
+ - Domain filters (include/exclude specific domains)
67
+ - Text filters (include/exclude specific text)
68
+
69
+ ### Content Extraction
70
+
71
+ Enable content extraction options:
72
+ - **Text**: Get cleaned page text
73
+ - **Highlights**: Get relevant excerpts
74
+ - **Summary**: Get AI-generated summaries
75
+ - **Livecrawl**: Crawl pages in real-time
76
+ - **Subpages**: Crawl linked subpages
77
+
78
+ ### Advanced Features
79
+
80
+ **Date Filtering**: Filter results by publication date
81
+ ```
82
+ Start Published Date: 2024-01-01
83
+ End Published Date: 2024-12-31
84
+ ```
85
+
86
+ **Domain Control**: Focus on or exclude specific domains
87
+ ```
88
+ Include Domains: arxiv.org, github.com
89
+ Exclude Domains: reddit.com
90
+ ```
91
+
92
+ **Category Filtering**: Focus on specific content types
93
+ - Company profiles
94
+ - Research papers
95
+ - News articles
96
+ - PDFs
97
+ - GitHub repositories
98
+ - Twitter/LinkedIn profiles
99
+ - Financial reports
100
+
101
+ ## Resources
102
+
103
+ * [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/)
104
+ * [Exa API documentation](https://docs.exa.ai)
105
+ * [Exa API reference](https://docs.exa.ai/reference/search)
106
+
107
+ ## Development
108
+
109
+ To work on this node locally:
110
+
111
+ ```bash
112
+ # Install dependencies
113
+ npm install
114
+
115
+ # Build the node
116
+ npm run build
117
+
118
+ # Link for local testing
119
+ npm link
120
+
121
+ # In your n8n installation directory
122
+ cd ~/.n8n/custom
123
+ npm link n8n-nodes-exa-official
124
+
125
+ # Start n8n
126
+ n8n start
127
+ ```
128
+
129
+ ## License
130
+
131
+ [MIT](https://github.com/exa-labs/n8n-integration/blob/main/LICENSE)
@@ -0,0 +1,8 @@
1
+ import { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class ExaApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ authenticate: IAuthenticateGeneric;
8
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExaApi = void 0;
4
+ class ExaApi {
5
+ constructor() {
6
+ this.name = 'exaApi';
7
+ this.displayName = 'Exa API';
8
+ this.documentationUrl = 'https://docs.exa.ai/reference/getting-started';
9
+ this.properties = [
10
+ {
11
+ displayName: 'API Key',
12
+ name: 'apiKey',
13
+ type: 'string',
14
+ typeOptions: {
15
+ password: true,
16
+ },
17
+ default: '',
18
+ required: true,
19
+ description: 'Your Exa API key. Get one at https://dashboard.exa.ai/api-keys',
20
+ },
21
+ ];
22
+ this.authenticate = {
23
+ type: 'generic',
24
+ properties: {
25
+ headers: {
26
+ 'x-api-key': '={{$credentials.apiKey}}',
27
+ },
28
+ },
29
+ };
30
+ }
31
+ }
32
+ exports.ExaApi = ExaApi;
@@ -0,0 +1,4 @@
1
+ import { INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class Exa implements INodeType {
3
+ description: INodeTypeDescription;
4
+ }
@@ -0,0 +1,571 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Exa = void 0;
4
+ class Exa {
5
+ constructor() {
6
+ this.description = {
7
+ displayName: 'Exa',
8
+ name: 'exa',
9
+ icon: 'file:logo.svg',
10
+ group: ['transform'],
11
+ version: 1,
12
+ subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
13
+ description: 'Semantic web search and research via Exa API',
14
+ defaults: {
15
+ name: 'Exa',
16
+ },
17
+ inputs: ['main'],
18
+ outputs: ['main'],
19
+ credentials: [
20
+ {
21
+ name: 'exaApi',
22
+ required: true,
23
+ },
24
+ ],
25
+ requestDefaults: {
26
+ baseURL: 'https://api.exa.ai',
27
+ headers: {
28
+ Accept: 'application/json',
29
+ 'Content-Type': 'application/json',
30
+ },
31
+ },
32
+ properties: [
33
+ {
34
+ displayName: 'Resource',
35
+ name: 'resource',
36
+ type: 'options',
37
+ noDataExpression: true,
38
+ options: [
39
+ {
40
+ name: 'Search',
41
+ value: 'search',
42
+ description: 'Search the web intelligently',
43
+ },
44
+ {
45
+ name: 'Contents',
46
+ value: 'contents',
47
+ description: 'Get contents from URLs',
48
+ },
49
+ {
50
+ name: 'Find Similar',
51
+ value: 'findSimilar',
52
+ description: 'Find similar links to a given URL',
53
+ },
54
+ {
55
+ name: 'Answer',
56
+ value: 'answer',
57
+ description: 'Get an AI-generated answer to a query',
58
+ },
59
+ ],
60
+ default: 'search',
61
+ },
62
+ {
63
+ displayName: 'Operation',
64
+ name: 'operation',
65
+ type: 'options',
66
+ noDataExpression: true,
67
+ displayOptions: {
68
+ show: {
69
+ resource: ['search'],
70
+ },
71
+ },
72
+ options: [
73
+ {
74
+ name: 'Search',
75
+ value: 'search',
76
+ action: 'Search the web',
77
+ description: 'Search the web and optionally extract contents',
78
+ routing: {
79
+ request: {
80
+ method: 'POST',
81
+ url: '/search',
82
+ },
83
+ },
84
+ },
85
+ ],
86
+ default: 'search',
87
+ },
88
+ {
89
+ displayName: 'Operation',
90
+ name: 'operation',
91
+ type: 'options',
92
+ noDataExpression: true,
93
+ displayOptions: {
94
+ show: {
95
+ resource: ['contents'],
96
+ },
97
+ },
98
+ options: [
99
+ {
100
+ name: 'Get Contents',
101
+ value: 'getContents',
102
+ action: 'Get contents from URLs',
103
+ description: 'Retrieve contents from a list of URLs',
104
+ routing: {
105
+ request: {
106
+ method: 'POST',
107
+ url: '/contents',
108
+ },
109
+ },
110
+ },
111
+ ],
112
+ default: 'getContents',
113
+ },
114
+ {
115
+ displayName: 'Operation',
116
+ name: 'operation',
117
+ type: 'options',
118
+ noDataExpression: true,
119
+ displayOptions: {
120
+ show: {
121
+ resource: ['findSimilar'],
122
+ },
123
+ },
124
+ options: [
125
+ {
126
+ name: 'Find Similar Links',
127
+ value: 'findSimilar',
128
+ action: 'Find similar links',
129
+ description: 'Find links similar to a given URL',
130
+ routing: {
131
+ request: {
132
+ method: 'POST',
133
+ url: '/findSimilar',
134
+ },
135
+ },
136
+ },
137
+ ],
138
+ default: 'findSimilar',
139
+ },
140
+ {
141
+ displayName: 'Operation',
142
+ name: 'operation',
143
+ type: 'options',
144
+ noDataExpression: true,
145
+ displayOptions: {
146
+ show: {
147
+ resource: ['answer'],
148
+ },
149
+ },
150
+ options: [
151
+ {
152
+ name: 'Get Answer',
153
+ value: 'getAnswer',
154
+ action: 'Get an AI answer',
155
+ description: 'Get an AI-generated answer to a query',
156
+ routing: {
157
+ request: {
158
+ method: 'POST',
159
+ url: '/answer',
160
+ },
161
+ },
162
+ },
163
+ ],
164
+ default: 'getAnswer',
165
+ },
166
+ {
167
+ displayName: 'Query',
168
+ name: 'query',
169
+ type: 'string',
170
+ required: true,
171
+ displayOptions: {
172
+ show: {
173
+ resource: ['search', 'answer'],
174
+ },
175
+ },
176
+ default: '',
177
+ description: 'The search query',
178
+ routing: {
179
+ request: {
180
+ body: {
181
+ query: '={{ $value }}',
182
+ },
183
+ },
184
+ },
185
+ },
186
+ {
187
+ displayName: 'URL',
188
+ name: 'url',
189
+ type: 'string',
190
+ required: true,
191
+ displayOptions: {
192
+ show: {
193
+ resource: ['findSimilar'],
194
+ },
195
+ },
196
+ default: '',
197
+ description: 'The URL to find similar links for',
198
+ routing: {
199
+ request: {
200
+ body: {
201
+ url: '={{ $value }}',
202
+ },
203
+ },
204
+ },
205
+ },
206
+ {
207
+ displayName: 'URLs',
208
+ name: 'urls',
209
+ type: 'string',
210
+ required: true,
211
+ displayOptions: {
212
+ show: {
213
+ resource: ['contents'],
214
+ },
215
+ },
216
+ default: '',
217
+ description: 'Comma-separated list of URLs or IDs to get contents for',
218
+ routing: {
219
+ send: {
220
+ preSend: [
221
+ async function (requestOptions) {
222
+ const urls = this.getNodeParameter('urls', 0);
223
+ const urlArray = urls.split(',').map((url) => url.trim());
224
+ requestOptions.body = {
225
+ ...requestOptions.body,
226
+ ids: urlArray,
227
+ };
228
+ return requestOptions;
229
+ },
230
+ ],
231
+ },
232
+ },
233
+ },
234
+ {
235
+ displayName: 'Search Type',
236
+ name: 'type',
237
+ type: 'options',
238
+ displayOptions: {
239
+ show: {
240
+ resource: ['search'],
241
+ },
242
+ },
243
+ options: [
244
+ {
245
+ name: 'Auto',
246
+ value: 'auto',
247
+ description: 'Intelligently combines neural and keyword search',
248
+ },
249
+ {
250
+ name: 'Neural',
251
+ value: 'neural',
252
+ description: 'Embeddings-based semantic search',
253
+ },
254
+ {
255
+ name: 'Keyword',
256
+ value: 'keyword',
257
+ description: 'Traditional keyword-based search',
258
+ },
259
+ {
260
+ name: 'Fast',
261
+ value: 'fast',
262
+ description: 'Streamlined versions of neural and keyword',
263
+ },
264
+ ],
265
+ default: 'auto',
266
+ routing: {
267
+ request: {
268
+ body: {
269
+ type: '={{ $value }}',
270
+ },
271
+ },
272
+ },
273
+ },
274
+ {
275
+ displayName: 'Number of Results',
276
+ name: 'numResults',
277
+ type: 'number',
278
+ displayOptions: {
279
+ show: {
280
+ resource: ['search', 'findSimilar'],
281
+ },
282
+ },
283
+ typeOptions: {
284
+ minValue: 1,
285
+ maxValue: 100,
286
+ },
287
+ default: 10,
288
+ description: 'Number of results to return (max 100 for neural, 10 for keyword)',
289
+ routing: {
290
+ request: {
291
+ body: {
292
+ numResults: '={{ $value }}',
293
+ },
294
+ },
295
+ },
296
+ },
297
+ {
298
+ displayName: 'Additional Fields',
299
+ name: 'additionalFields',
300
+ type: 'collection',
301
+ placeholder: 'Add Field',
302
+ default: {},
303
+ displayOptions: {
304
+ show: {
305
+ resource: ['search'],
306
+ },
307
+ },
308
+ options: [
309
+ {
310
+ displayName: 'Category',
311
+ name: 'category',
312
+ type: 'options',
313
+ options: [
314
+ { name: 'Company', value: 'company' },
315
+ { name: 'Research Paper', value: 'research paper' },
316
+ { name: 'News', value: 'news' },
317
+ { name: 'PDF', value: 'pdf' },
318
+ { name: 'GitHub', value: 'github' },
319
+ { name: 'Tweet', value: 'tweet' },
320
+ { name: 'Personal Site', value: 'personal site' },
321
+ { name: 'LinkedIn Profile', value: 'linkedin profile' },
322
+ { name: 'Financial Report', value: 'financial report' },
323
+ ],
324
+ default: '',
325
+ description: 'A data category to focus on',
326
+ routing: {
327
+ request: {
328
+ body: {
329
+ category: '={{ $value }}',
330
+ },
331
+ },
332
+ },
333
+ },
334
+ {
335
+ displayName: 'Include Domains',
336
+ name: 'includeDomains',
337
+ type: 'string',
338
+ default: '',
339
+ description: 'Comma-separated list of domains to include (e.g., arxiv.org, github.com)',
340
+ routing: {
341
+ send: {
342
+ preSend: [
343
+ async function (requestOptions) {
344
+ const domains = this.getNodeParameter('additionalFields.includeDomains', 0);
345
+ if (domains) {
346
+ const domainArray = domains.split(',').map((d) => d.trim());
347
+ requestOptions.body = {
348
+ ...requestOptions.body,
349
+ includeDomains: domainArray,
350
+ };
351
+ }
352
+ return requestOptions;
353
+ },
354
+ ],
355
+ },
356
+ },
357
+ },
358
+ {
359
+ displayName: 'Exclude Domains',
360
+ name: 'excludeDomains',
361
+ type: 'string',
362
+ default: '',
363
+ description: 'Comma-separated list of domains to exclude',
364
+ routing: {
365
+ send: {
366
+ preSend: [
367
+ async function (requestOptions) {
368
+ const domains = this.getNodeParameter('additionalFields.excludeDomains', 0);
369
+ if (domains) {
370
+ const domainArray = domains.split(',').map((d) => d.trim());
371
+ requestOptions.body = {
372
+ ...requestOptions.body,
373
+ excludeDomains: domainArray,
374
+ };
375
+ }
376
+ return requestOptions;
377
+ },
378
+ ],
379
+ },
380
+ },
381
+ },
382
+ {
383
+ displayName: 'Start Published Date',
384
+ name: 'startPublishedDate',
385
+ type: 'dateTime',
386
+ default: '',
387
+ description: 'Only return links published after this date',
388
+ routing: {
389
+ request: {
390
+ body: {
391
+ startPublishedDate: '={{ new Date($value).toISOString() }}',
392
+ },
393
+ },
394
+ },
395
+ },
396
+ {
397
+ displayName: 'End Published Date',
398
+ name: 'endPublishedDate',
399
+ type: 'dateTime',
400
+ default: '',
401
+ description: 'Only return links published before this date',
402
+ routing: {
403
+ request: {
404
+ body: {
405
+ endPublishedDate: '={{ new Date($value).toISOString() }}',
406
+ },
407
+ },
408
+ },
409
+ },
410
+ {
411
+ displayName: 'User Location',
412
+ name: 'userLocation',
413
+ type: 'string',
414
+ default: '',
415
+ description: 'Two-letter ISO country code (e.g., US, GB)',
416
+ routing: {
417
+ request: {
418
+ body: {
419
+ userLocation: '={{ $value }}',
420
+ },
421
+ },
422
+ },
423
+ },
424
+ {
425
+ displayName: 'Include Text',
426
+ name: 'includeText',
427
+ type: 'string',
428
+ default: '',
429
+ description: 'Text that must be present in webpage (comma-separated, max 5 words each)',
430
+ routing: {
431
+ send: {
432
+ preSend: [
433
+ async function (requestOptions) {
434
+ const text = this.getNodeParameter('additionalFields.includeText', 0);
435
+ if (text) {
436
+ const textArray = text.split(',').map((t) => t.trim());
437
+ requestOptions.body = {
438
+ ...requestOptions.body,
439
+ includeText: textArray,
440
+ };
441
+ }
442
+ return requestOptions;
443
+ },
444
+ ],
445
+ },
446
+ },
447
+ },
448
+ {
449
+ displayName: 'Exclude Text',
450
+ name: 'excludeText',
451
+ type: 'string',
452
+ default: '',
453
+ description: 'Text that must not be present in webpage (comma-separated, max 5 words each)',
454
+ routing: {
455
+ send: {
456
+ preSend: [
457
+ async function (requestOptions) {
458
+ const text = this.getNodeParameter('additionalFields.excludeText', 0);
459
+ if (text) {
460
+ const textArray = text.split(',').map((t) => t.trim());
461
+ requestOptions.body = {
462
+ ...requestOptions.body,
463
+ excludeText: textArray,
464
+ };
465
+ }
466
+ return requestOptions;
467
+ },
468
+ ],
469
+ },
470
+ },
471
+ },
472
+ ],
473
+ },
474
+ {
475
+ displayName: 'Contents Options',
476
+ name: 'contentsOptions',
477
+ type: 'collection',
478
+ placeholder: 'Add Option',
479
+ default: {},
480
+ displayOptions: {
481
+ show: {
482
+ resource: ['search', 'contents', 'findSimilar'],
483
+ },
484
+ },
485
+ options: [
486
+ {
487
+ displayName: 'Text',
488
+ name: 'text',
489
+ type: 'boolean',
490
+ default: false,
491
+ description: 'Whether to include cleaned text from the page',
492
+ routing: {
493
+ request: {
494
+ body: {
495
+ text: '={{ $value }}',
496
+ },
497
+ },
498
+ },
499
+ },
500
+ {
501
+ displayName: 'Highlights',
502
+ name: 'highlights',
503
+ type: 'boolean',
504
+ default: false,
505
+ description: 'Whether to include highlighted excerpts',
506
+ routing: {
507
+ request: {
508
+ body: {
509
+ highlights: '={{ $value }}',
510
+ },
511
+ },
512
+ },
513
+ },
514
+ {
515
+ displayName: 'Summary',
516
+ name: 'summary',
517
+ type: 'boolean',
518
+ default: false,
519
+ description: 'Whether to include an AI-generated summary',
520
+ routing: {
521
+ request: {
522
+ body: {
523
+ summary: '={{ $value }}',
524
+ },
525
+ },
526
+ },
527
+ },
528
+ {
529
+ displayName: 'Livecrawl',
530
+ name: 'livecrawl',
531
+ type: 'options',
532
+ options: [
533
+ { name: 'Always', value: 'always' },
534
+ { name: 'Never', value: 'never' },
535
+ { name: 'Fallback', value: 'fallback' },
536
+ ],
537
+ default: 'fallback',
538
+ description: 'Whether to crawl the page in real-time',
539
+ routing: {
540
+ request: {
541
+ body: {
542
+ livecrawl: '={{ $value }}',
543
+ },
544
+ },
545
+ },
546
+ },
547
+ {
548
+ displayName: 'Subpages',
549
+ name: 'subpages',
550
+ type: 'number',
551
+ default: 0,
552
+ typeOptions: {
553
+ minValue: 0,
554
+ maxValue: 10,
555
+ },
556
+ description: 'Number of subpages to crawl (0-10)',
557
+ routing: {
558
+ request: {
559
+ body: {
560
+ subpages: '={{ $value }}',
561
+ },
562
+ },
563
+ },
564
+ },
565
+ ],
566
+ },
567
+ ],
568
+ };
569
+ }
570
+ }
571
+ exports.Exa = Exa;
@@ -0,0 +1,3 @@
1
+ <svg width="94" height="114" viewBox="0 0 94 114" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M0 112.14C0 112.691 0.446944 113.138 0.998277 113.138H92.1741C92.7255 113.138 93.1724 112.691 93.1724 112.14V107.396C93.1724 106.932 93.0115 106.483 92.7173 106.125L52.4924 57.203C52.1895 56.8346 52.1895 56.3034 52.4924 55.935L92.7173 7.0126C93.0115 6.6547 93.1724 6.20573 93.1724 5.74239V0.998283C93.1724 0.446953 92.7255 7.62939e-06 92.1741 7.62939e-06H0.998276C0.446943 7.62939e-06 0 0.446953 0 0.998283V112.14ZM47.1293 63.7789C46.8618 63.4535 46.363 63.4554 46.098 63.7828L13.756 103.735C13.4037 104.17 13.7134 104.819 14.2733 104.819H79.4644C80.0266 104.819 80.3356 104.165 79.9785 103.731L47.1293 63.7789ZM9.20606 96.1337C8.91009 96.4993 8.31897 96.29 8.31897 95.8196V61.394C8.31897 61.0264 8.61693 60.7285 8.98448 60.7285H36.4724C37.0322 60.7285 37.3419 61.3776 36.9897 61.8127L9.20606 96.1337ZM36.4724 52.4095C37.0322 52.4095 37.3419 51.7604 36.9897 51.3252L9.20606 17.0043C8.91009 16.6387 8.31897 16.848 8.31897 17.3183V51.744C8.31897 52.1115 8.61693 52.4095 8.98448 52.4095H36.4724ZM13.756 9.40324C13.4037 8.96811 13.7134 8.31898 14.2733 8.31898H79.4644C80.0266 8.31898 80.3356 8.97291 79.9785 9.40717L47.1293 49.3591C46.8618 49.6845 46.363 49.6826 46.098 49.3552L13.756 9.40324Z" fill="#1F40ED"/>
3
+ </svg>
package/package.json ADDED
@@ -0,0 +1,52 @@
1
+ {
2
+ "name": "n8n-nodes-exa-official",
3
+ "version": "0.1.0",
4
+ "description": "n8n node for Exa API - intelligent web search and content extraction",
5
+ "keywords": [
6
+ "n8n-community-node-package"
7
+ ],
8
+ "license": "MIT",
9
+ "homepage": "https://github.com/exa-labs/n8n-integration",
10
+ "author": {
11
+ "name": "Exa Labs",
12
+ "email": "hello@exa.ai"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/exa-labs/n8n-integration.git"
17
+ },
18
+ "main": "dist/nodes/Exa/Exa.node.js",
19
+ "types": "dist/nodes/Exa/Exa.node.d.ts",
20
+ "scripts": {
21
+ "build": "tsc && gulp build:icons && node ./scripts/remove-ds-store.js dist",
22
+ "dev": "tsc --watch",
23
+ "format": "prettier nodes credentials --write",
24
+ "lint": "eslint 'nodes/**/*.ts' 'credentials/**/*.ts' package.json",
25
+ "lintfix": "eslint 'nodes/**/*.ts' 'credentials/**/*.ts' package.json --fix",
26
+ "prepublishOnly": "npm run lint && npm run build"
27
+ },
28
+ "files": [
29
+ "dist"
30
+ ],
31
+ "n8n": {
32
+ "n8nNodesApiVersion": 1,
33
+ "credentials": [
34
+ "dist/credentials/ExaApi.credentials.js"
35
+ ],
36
+ "nodes": [
37
+ "dist/nodes/Exa/Exa.node.js"
38
+ ]
39
+ },
40
+ "devDependencies": {
41
+ "@typescript-eslint/parser": "^7.15.0",
42
+ "eslint": "^8.56.0",
43
+ "eslint-plugin-n8n-nodes-base": "^1.16.1",
44
+ "gulp": "^4.0.2",
45
+ "n8n-workflow": "^1.60.0",
46
+ "prettier": "^3.3.2",
47
+ "typescript": "^5.5.3"
48
+ },
49
+ "peerDependencies": {
50
+ "n8n-workflow": "*"
51
+ }
52
+ }