@types/nodemailer-html-to-text
TypeScript icon, indicating that this package has built-in type declarations

3.1.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/nodemailer-html-to-text

Weekly Downloads

3,880

Version

3.1.3

License

MIT

Unpacked Size

3.43 kB

Total Files

5

Last publish

Collaborators

  • types