hast-util-to-text

hast utility to get the plain-text value of a node according to the `innerText` algorithm

html-to-plaintext

Converts a block of HTML to plain text, correctly preserving newlines in tricky situations.

hast-util-from-text

hast utility to set the plain-text value of a node according to the `innerText` algorithm

styleless-innertext

A library to imitate WHATWG HTMLElement.innerText specification