unist-util-filter

Node cleaner

Utility to remove unwanted nodes from a tree data structure

utility to create a new tree with nodes that pass a filter

GitHub

18 stars
9 watching
2 forks
Language: JavaScript
last commit: about 1 year ago
filtersyntax-treeunistunist-util

Related projects:

Repository Description Stars
syntax-tree/unist-util-remove Utility to remove nodes from a tree 22
syntax-tree/unist-util-visit Utility to traverse and inspect the structure of an abstract syntax tree 278
syntax-tree/unist-util-inspect Utility to visually inspect tree data structures 27
syntax-tree/unist-util-select Tool for finding nodes in a tree using CSS-like selectors 61
syntax-tree/unist-util-is Utility to check if nodes match specific patterns 38
syntax-tree/unist-builder Utility to create syntax trees with ease 77
syntax-tree/unist-util-map Utility to create a new tree by mapping all nodes with a given function 35
syntax-tree/hast-util-sanitize Utility to make tree-based data safe by removing dangerous content 50
syntax-tree/unist-util-assert A utility for verifying nodes in document trees 4
syntax-tree/unist A specification for syntax trees used by the unifiedjs project to represent source code or natural language in an abstract and concrete format. 877
syntax-tree/mdast-util-to-string Utility to extract text content from markdown abstract syntax tree nodes 39
syntax-tree/xastscript A utility to create syntax trees with ease 12
syntax-tree/nlcst-test Utility to validate nodes in abstract syntax trees 2
syntax-tree/hast-util-from-text Utility to transform plain text into a hast node's visible content 2
syntax-tree/xast-util-from-xml Utility to convert XML into a syntax tree data structure 15