UNPKG

eml2png

Version:
17 lines (11 loc) 446 B
/// <reference types='node' /> export = eml2png interface Options { } declare class eml2png { constructor(opts?: { interval?: number, maxWorkers?: number, }) public getHtmlStrFromFile(input: NodeJS.ReadableStream | string): Promise<NodeJS.ReadStream | string | undefined> public png(input: NodeJS.ReadableStream | string, options?: Options, output?: string): Promise<NodeJS.ReadStream | string | undefined> }