rehype

v13.0.2 MIT

HTML processor powered by plugins part of the unified collective

Weekly Downloads
1.6M
Stars
2.2K
Forks
92
Open Issues
2
Gzip Size
70.0 kB
Unpacked Size
13.3 kB
Dependencies
31

Download Trends

Download trends for rehype01.5M3.0M4.6M6.1MFeb 25May 25Aug 25Nov 25Feb 26
rehype

AI Insights

rehype is an HTML processor designed to work with plugins as part of the unified collective. It enables developers to easily manipulate and transform HTML through a structured approach based on Abstract Syntax Trees (AST). Its wide adoption and robust community support make it a reliable choice for HTML processing tasks.

When to use

  • When you need to parse and manipulate HTML content programmatically.
  • When integrating with other unified or rehype plugins to extend functionality.
  • When working with Markdown conversions that require HTML output.

When NOT to use

  • If you require a lightweight solution without dependencies on plugins.
  • When dealing with XML or non-HTML content.
  • If real-time performance is critical and the overhead of processing is a concern.

Alternatives

Categories