awesome-syntax-tree
Curated list of awesome syntax-tree, unist, hast, xast, mdast, esast, nlcst resources
https://github.com/syntax-tree/awesome-syntax-tree
Last synced: 23 days ago
JSON representation
esast utilities
- Find more utilities »
- estree-util-attach-comments - Attach comments to the tree.
- estree-util-build-jsx - Turn JSX into function calls.
- esast-util-from-js - Transform from a JavaScript string.
- estree-util-to-js - Transform to a JavaScript string.
- estree-util-value-to-estree - Turn a JavaScript value into an estree expression
hast utilities
- Find more utilities »
- hastscript - Create trees with a nice syntax.
- hast-util-from-dom - Transform from a DOM tree.
- hast-util-from-text - Set plain-text content.
- hast-util-to-dom - Transform to a DOM tree.
- hast-util-to-jsx-runtime - Transform to preact, react, solid, svelte, vue, etc.
- hast-util-to-html - Transform to an HTML string.
- hast-util-to-mdast - Transform to mdast.
- hast-util-to-nlcst - Transform to nlcst.
- hast-util-to-text - Get plain-text content.
- hast-util-to-xast - Transform to xast.
- hast-util-find-and-replace - Find and replace text in a tree.
- hast-util-sanitize - Sanitize a tree.
-
hast-util-select
-
querySelector,querySelectorAll, andmatches. - hast-util-has-property - Check if a node has a property.
- hast-util-is-element - Check if a node is a (certain) element.
- hast-util-assert - Assert nodes.
mdast utilities
- Find more utilities »
- mdast-util-to-hast - Transform to hast.
- mdast-util-to-nlcst - Transform to nlcst.
- mdast-util-to-string - Get the plain text content of a node.
- mdast-util-definitions - Find definitions.
- mdast-util-toc - Generate a Table of Contents.
- mdast-normalize-headings - Fix heading depths.
- mdast-util-heading-range - Use heading as ranges.
- mdast-zone - Use comments as ranges and markers.
- mdast-util-assert - Assert nodes.
nlcst utilities
- Find more utilities »
- nlcst-search - Search for patterns in a tree.
- nlcst-to-string - Transform to a string.
- nlcst-is-literal - Check if a node is meant literally.
- nlcst-normalize - Normalize a word for easier comparison.
- nlcst-test - Assert nodes.
Official
- syntax-tree - Organization.
- unified - Ecosystem.
Related lists
unist utilities
- Find more utilities »
- unist-builder - Create trees with a nice syntax.
- unist-util-is - Check if a node passes a test.
- unist-util-visit - Visit nodes.
- unist-util-map - Create a new tree by mapping all nodes.
- unist-util-filter - Create a new tree with nodes that pass a filter.
- unist-util-remove - Remove nodes from a tree.
- unist-util-select - Select nodes with CSS-like selectors.
- unist-util-inspect - Inspect nodes.
- unist-util-assert - Assert nodes.
xast utilities
- Find more utilities »
- xastscript - Create xast trees.
- xast-util-feed - Build a feed (RSS, Atom).
- xast-util-from-xml - Transform from an XML string.
- xast-util-sitemap - Build a sitemap.
- xast-util-to-xml - Transform to an XML string.