Installation
npm install --save @types/nodemailer-html-to-text
Summary
This package contains type definitions for nodemailer-html-to-text (https://github.com/andris9/nodemailer-html-to-text).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nodemailer-html-to-text.
index.d.ts
import Mail = require("nodemailer/lib/mailer");
import HtmlToText = require("html-to-text");
/**
* Takes options for the html-to-text converter and returns a nodemailer plugin function
*/
export function htmlToText(options?: HtmlToText.HtmlToTextOptions): Mail.PluginFunction;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/html-to-text, @types/nodemailer
Credits
These definitions were written by Vinícius Fagundes.