UNPKG

mhtml-to-html

Version:

JavaScript library for parsing MHTML files and converting them into single HTML files

7 lines (5 loc) 259 B
// Imports the build matching the current runtime, so a single suite covers both Node.js and Deno. const { parse, convert } = globalThis.Deno ? await import("../../lib/mod-deno.js") : await import("../../lib/mod-node.js"); export { parse, convert };