A monorepo of Node packages that turn HTML into plain text. The main library converts markup for uses such as email previews and readable exports.
Overview
Node HTML to Text centers on an advanced HTML-to-plain-text converter aimed at Node applications. The work is organized as a monorepo with several publishable packages rather than a single standalone program.
The primary package focuses on converting HTML strings into formatted plain text, which suits workflows that need human-readable output from web markup. A separate command-line package wraps the same conversion for shell and scripting use.
A related package in the same family targets HTML-to-Markdown conversion; the source describes that effort as work in progress. Shared internals live in a base package bundled into the published releases.
Developers typically add the library or CLI package to a Node project and call it from application code or the terminal. The source does not position the tools as a hosted service or desktop app; they are components you embed where HTML conversion is needed.
Key features
- HTML to plain text conversion
- Monorepo with multiple npm packages
- Dedicated CLI package
- HTML to markdown converter in progress
- Shared base package for published builds
Use cases
- Plain text from HTML email content
- CLI conversion of HTML files or strings
- Node apps that strip or simplify markup