unist-util-map

Node mapper

Utility to create a new tree by mapping all nodes with a given function

utility to create a new tree by mapping all nodes

GitHub

35 stars
9 watching
4 forks
Language: JavaScript
last commit: over 1 year ago
mapsyntax-treeunistunist-utilutil

Related projects:

Repository Description Stars
syntax-tree/unist-util-filter Utility to remove unwanted nodes from a tree data structure 18
syntax-tree/unist-util-select Tool for finding nodes in a tree using CSS-like selectors 61
syntax-tree/unist-builder Utility to create syntax trees with ease 77
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-is Utility to check if nodes match specific patterns 38
syntax-tree/unist-util-assert A utility for verifying nodes in document trees 4
syntax-tree/unist-util-inspect Utility to visually inspect tree data structures 27
syntax-tree/hast-util-to-html Utility to convert syntax tree into HTML string 88
syntax-tree/xastscript A utility to create syntax trees with ease 12
syntax-tree/hastscript Utility to create syntax trees with ease. 164
syntax-tree/mdast-util-to-string Utility to extract text content from markdown abstract syntax tree nodes 39
syntax-tree/nlcst-test Utility to validate nodes in abstract syntax trees 2
syntax-tree/xast-util-sitemap A utility for generating sitemap XML files 5
syntax-tree/hast-util-from-text Utility to transform plain text into a hast node's visible content 2