unist-util-assert

Node validator

A utility for verifying nodes in document trees

utility to assert nodes

GitHub

4 stars
9 watching
1 forks
Language: JavaScript
last commit: over 1 year ago
assertchecksyntax-treetestunistunist-utilutil

Related projects:

Repository Description Stars
syntax-tree/hast-util-assert Utility to verify correctness of nodes in HTML/Markdown parsing trees 1
syntax-tree/nlcst-test Utility to validate nodes in abstract syntax trees 2
syntax-tree/mdast-util-assert Utility to validate and assert structure of markdown AST nodes 0
syntax-tree/unist-util-is Utility to check if nodes match specific patterns 38
syntax-tree/unist-util-filter Utility to remove unwanted nodes from a tree data structure 18
syntax-tree/unist-util-remove Utility to remove nodes from a tree 22
syntax-tree/unist-util-inspect Utility to visually inspect tree data structures 27
syntax-tree/unist-util-map Utility to create a new tree by mapping all nodes with a given function 35
syntax-tree/unist-util-visit Utility to traverse and inspect the structure of an abstract syntax tree 281
syntax-tree/unist-util-select Tool for finding nodes in a tree using CSS-like selectors 62
syntax-tree/hast-util-is-element Utility to check if a node matches certain element criteria in HTML or document structures 12
syntax-tree/unist-builder Utility to create syntax trees with ease 77
syntax-tree/nlcst-is-literal Utility to check if an nlcst node is meant literally in a document 9
syntax-tree/hast-util-has-property Utility to check if an element has a certain property 1
syntax-tree/hast-util-sanitize Utility to make tree-based data safe by removing dangerous content 50