Files
send-mail/node_modules/nodemailer/dist/esm/smtp-connection/data-stream.d.ts
T

15 lines
527 B
TypeScript
Raw Normal View History

2026-09-15 13:00:32 +02:00
import { Transform, type TransformOptions } from 'node:stream';
/**
* Escapes dots in the beginning of lines. Ends the stream with <CR><LF>.<CR><LF>
2026-10-03 10:23:35 +02:00
* Also makes sure that only <CR><LF> sequences are used for linebreaks, bare CR and bare LF
* are both turned into <CR><LF>
2026-09-15 13:00:32 +02:00
*
* @param options Stream options
*/
export default class DataStream extends Transform {
options: TransformOptions;
inByteCount: number;
outByteCount: number;
lastByte: number | false;
constructor(options?: TransformOptions);
}