UNPKG

md-html-to-pdf

Version:

CLI tool for converting Markdown files or Html files to PDF.

7 lines (6 loc) 236 B
/** * Read a file with the given encoding, and return its content as a string. * * Uses iconv-lite to solve some issues with Windows encodings. */ export declare const readFile: (file: string, encoding?: string) => Promise<string>;