api documentation for html-to-text (v3.2.0)

Advanced html to plain text converter

table of contents

  1. module html-to-text
    1. function html-to-text.fromFile (file, options, callback)
    2. function html-to-text.fromString (str, options)
    3. object html-to-text.formatter
    4. object html-to-text.helper
    5. object html-to-text.html_to_text
  2. module html-to-text.formatter
    1. function html-to-text.formatter.anchor (elem, fn, options)
    2. function html-to-text.formatter.heading (elem, fn, options)
    3. function html-to-text.formatter.horizontalLine (elem, fn, options)
    4. function html-to-text.formatter.image (elem, options)
    5. function html-to-text.formatter.lineBreak (elem, fn, options)
    6. function html-to-text.formatter.listItem (prefix, elem, fn, options)
    7. function html-to-text.formatter.orderedList (elem, fn, options)
    8. function html-to-text.formatter.paragraph (elem, fn, options)
    9. function html-to-text.formatter.table (elem, fn, options)
    10. function html-to-text.formatter.text (elem, options)
    11. function html-to-text.formatter.unorderedList (elem, fn, options)
  3. module html-to-text.helper
    1. function html-to-text.helper.arrayZip (array)
    2. function html-to-text.helper.splitCssSearchTag (tagString)
    3. function html-to-text.helper.wordwrap (text, options)
  4. module html-to-text.html_to_text
    1. function html-to-text.html_to_text.fromFile (file, options, callback)
    2. function html-to-text.html_to_text.fromString (str, options)

module html-to-text

function html-to-text.fromFile (file, options, callback)

function html-to-text.fromString (str, options)

module html-to-text.formatter

function html-to-text.formatter.anchor (elem, fn, options)

function html-to-text.formatter.heading (elem, fn, options)

function html-to-text.formatter.horizontalLine (elem, fn, options)

function html-to-text.formatter.image (elem, options)

function html-to-text.formatter.lineBreak (elem, fn, options)

function html-to-text.formatter.listItem (prefix, elem, fn, options)

function html-to-text.formatter.orderedList (elem, fn, options)

function html-to-text.formatter.paragraph (elem, fn, options)

function html-to-text.formatter.table (elem, fn, options)

function html-to-text.formatter.text (elem, options)

function html-to-text.formatter.unorderedList (elem, fn, options)

module html-to-text.helper

function html-to-text.helper.arrayZip (array)

function html-to-text.helper.splitCssSearchTag (tagString)

function html-to-text.helper.wordwrap (text, options)

module html-to-text.html_to_text

function html-to-text.html_to_text.fromFile (file, options, callback)

function html-to-text.html_to_text.fromString (str, options)

[ this document was created with utility2 ]