UNPKG

pdf2pic

Version:

A utility for converting pdf to image formats. Supports different outputs: directly to file, base64 or buffer.

2 lines (1 loc) 97 B
export declare function convertToBuffer(source: string, data: string | Buffer): Promise<Buffer>;