UNPKG

n8n-nodes-imap-ai

Version:

Simplified IMAP node for n8n with AI-agent support. Clean and modular email and mailbox management for automation workflows.

21 lines 616 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.streamToString = streamToString; function streamToString(stream) { return new Promise((resolve, reject) => { if (!stream) { resolve(''); } else { const chunks = []; stream.on('data', (chunk) => { chunks.push(chunk); }); stream.on('end', () => { resolve(Buffer.concat(chunks).toString('utf8')); }); stream.on('error', reject); } }); } //# sourceMappingURL=StreamHelpers.js.map