hast-util-to-xast
JSON →Utility to transform a hast (HTML) syntax tree into a xast (XML) syntax tree. v3.0.1, ESM-only, fully typed with TypeScript. Supports automatic SVG namespace switching and embedded MDX nodes. Commonly used for EPUB generation. Requires Node.js 16+. Replaced old direct `space` argument with `options.space` in v3.
Traffic · last 30 days ↑0% vs prev 7d
total hits 9
actors 2 distinct systems
last hit 18h ago AhrefsBot
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇮🇳 India · VN
Resources
API endpoints
full doc /v1/registry/hast-util-to-xast