hast-util-assert
Node validator
Utility to verify correctness of nodes in HTML/Markdown parsing trees
utility to assert hast nodes
1 stars
9 watching
2 forks
Language: JavaScript
last commit: over 1 year ago asserthasthast-utilhtmlunistutil
Related projects:
Repository | Description | Stars |
---|---|---|
syntax-tree/unist-util-assert | A utility for verifying nodes in document trees | 4 |
syntax-tree/mdast-util-assert | Utility to validate and assert structure of markdown AST nodes | 0 |
syntax-tree/nlcst-test | Utility to validate nodes in abstract syntax trees | 2 |
syntax-tree/hast-util-is-element | Utility to check if a node matches certain element criteria in HTML or document structures | 12 |
syntax-tree/hast-util-has-property | Utility to check if an element has a certain property | 1 |
syntax-tree/hast-util-from-text | Utility to transform plain text into a hast node's visible content | 2 |
syntax-tree/hast-util-to-html | Utility to convert syntax tree into HTML string | 90 |
syntax-tree/hast-util-from-dom | Transforms a DOM tree into a hast syntax tree | 22 |
syntax-tree/hast-util-to-text | Utility function to extract plain text from HTML-like data structures | 19 |
syntax-tree/hast-util-select | Utility package for working with HTML structures in JavaScript | 38 |
syntax-tree/hast-util-sanitize | Utility to make tree-based data safe by removing dangerous content | 50 |
syntax-tree/hast-util-to-dom | Utility to transform HTML syntax trees into DOM structures. | 19 |
syntax-tree/unist-util-is | Utility to check if nodes match specific patterns | 38 |
syntax-tree/hast-util-to-nlcst | Utility to convert HTML syntax tree to natural language representation | 4 |
syntax-tree/hastscript | Utility to create syntax trees with ease. | 164 |