hast-util-embedded

JSON →
library 3.0.0 ·javascript
verified May 27, 2026

This package is a focused utility from the unified collective, designed to determine if a given HAST (Hypertext Abstract Syntax Tree) node represents "embedded content" according to the HTML specification. Currently at stable version 3.0.0, it follows the unified ecosystem's release cadence, often aligning major releases with Node.js LTS updates or significant ecosystem shifts like ESM adoption. Its key differentiator is its precise adherence to the HTML specification for embedded content, providing a reliable, small-footprint function (`embedded`) for tree traversal and manipulation tasks where identifying specific HTML element categories is crucial. It is highly specialized, differentiating it from more general element checking utilities like `hast-util-is-element` by focusing solely on the HTML definition of embedded content (e.g., `audio`, `video`, `img`, `iframe`, `svg`). This makes it ideal for specific content processing pipelines within the `unified` ecosystem.

total hits 14
actors 7 distinct systems
last hit 6d ago MetaBot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇳🇴 Norway · 🇩🇪 Germany