UNPKG

@maizzle/framework

Version:

Maizzle is a framework that helps you quickly build HTML emails with Tailwind CSS.

14 lines (13 loc) 362 B
import defu from "defu"; import { stripHtml } from "string-strip-html"; //#region src/plaintext.ts const defaults = { dumpLinkHrefsNearby: { enabled: true, putOnNewLine: true } }; function createPlaintext(html, options) { return stripHtml(html, defu(options, defaults)).result; } //#endregion export { createPlaintext }; //# sourceMappingURL=plaintext.js.map