domelementtype
all the types of nodes in htmlparser2's dom
all the types of nodes in htmlparser2's dom
Create an array by repeating the given value n times.
Get the longest item in an array.
Look up HTML tag names via HTML Element constructors, and vice versa.
List of known MathML tag names
List of HTML void tag names
Fast and powerful array sorting. Sort an array of objects by one or more properties. Any number of nested properties or custom comparison functions may be used.
Parse and stringify the HTML `<img>` srcset attribute
Polyfill/shim for `document.contains`
hast utility to check if a node is a (certain) element
hast utility to check if a node is inter-element whitespace
Utility library to determine and normalize Element.scrollLeft behavior
List of known HTML tag names
Generate HTML elements from a javascript object.
Check if a DOM element matches a given selector
HTML void elements are not the only self-closing tags. This includes common SVG self-closing elements as well.
Returns true if the given name is a HTML void element or common SVG self-closing element.
For a given DOM element, find the first ancestor that matches a given CSS selector.
Regular expression for matching XML NCName
Regular expressions for matching against the XML Character Classes