npm.io
3.1.3 • Published 2 years ago

@types/nodemailer-html-to-text

Licence
MIT
Version
3.1.3
Deps
2
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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

Credits

These definitions were written by Vinícius Fagundes.