dominfo
Dominfo is a software utility and library designed to inspect and summarize the Document Object Model (DOM) of HTML and XML documents. It provides a compact view of the structure and content of a document, including counts of nodes, element types, attribute usage, and textual content.
Core features include DOM parsing, tree traversal, and reporting. It can compute statistics such as total nodes,
Dominfo is usable in browser environments via the standard DOM API, and in server-side contexts through libraries
Typical workflows involve feeding an HTML or XML file to dominfo, either from disk or a stream,
Limitations include dependence on the underlying parser and the fact that the DOM state may differ from
See also: Document Object Model, HTML, XML, web debugging tools, jsdom, htmlparser2.