Overview

Convert Shopify rich-text HTML — the kind you get back from product.descriptionHtml, metafield.value, blog contentHtml, and so on — into either a React tree or a plain-text string.

Built on top of node-html-parser. No dangerouslySetInnerHTML. No DOM dependency, so it works in Node, the edge runtime, and the browser.

For the canonical reference, see the README on GitHub.

In this section

  • Overview — this page
  • API Reference — auto-generated from TypeScript source

On this page