turndown

A library that converts HTML to Markdown

converterhtmlmarkdownjavascripthtml-to-markdownbrowsernode

https://domchristie.github.io/turndown/