awesome-syntax-tree
Syntax tools collection
A curated list of resources and utilities for working with syntax trees in various formats
Curated list of awesome syntax-tree, unist, hast, xast, mdast, esast, nlcst resources
109 stars
12 watching
1 forks
last commit: over 1 year ago awesomeawesome-listhastmdastnlcstsyntax-treeunifiedunistxast
awesome syntax-tree / Official | |||
| syntax-tree | Organization | ||
| unist | 881 | over 1 year ago | specification |
| mdast | 1,122 | over 1 year ago | (markdown) specification |
| hast | 768 | over 1 year ago | (HTML) specification |
| xast | 67 | over 1 year ago | (XML) specification |
| esast | 51 | over 1 year ago | (JS) specification |
| nlcst | 206 | over 1 year ago | (prose) specification |
| unified | 4,517 | over 1 year ago | Ecosystem |
| unifiedjs.com | Ecosystem website | ||
awesome syntax-tree / unist utilities | |||
| unist-builder | 77 | over 2 years ago | Create trees with a nice syntax |
| unist-util-is | 38 | almost 2 years ago | Check if a node passes a test |
| unist-util-visit | 282 | almost 2 years ago | Visit nodes |
| unist-util-map | 35 | over 2 years ago | Create a new tree by mapping all nodes |
| unist-util-filter | 18 | over 2 years ago | Create a new tree with nodes that pass a filter |
| unist-util-remove | 22 | over 2 years ago | Remove nodes from a tree |
| unist-util-select | 62 | over 2 years ago | Select nodes with CSS-like selectors |
| unist-util-inspect | 27 | over 1 year ago | Inspect nodes |
| unist-util-assert | 4 | over 2 years ago | Assert nodes |
awesome syntax-tree / mdast utilities | |||
| mdast-util-to-hast | 105 | almost 2 years ago | Transform to hast |
| mdast-util-to-nlcst | 9 | almost 2 years ago | Transform to nlcst |
| mdast-util-to-string | 39 | almost 2 years ago | Get the plain text content of a node |
| mdast-util-definitions | 11 | over 2 years ago | Find definitions |
| mdast-util-toc | 83 | almost 2 years ago | Generate a Table of Contents |
| mdast-normalize-headings | 6 | over 2 years ago | Fix heading depths |
| mdast-util-heading-range | 10 | over 2 years ago | Use heading as ranges |
| mdast-zone | 15 | over 1 year ago | Use comments as ranges and markers |
| mdast-util-assert | 0 | over 2 years ago | Assert nodes |
awesome syntax-tree / hast utilities | |||
| hastscript | 165 | about 2 years ago | Create trees with a nice syntax |
| hast-util-from-dom | 22 | over 1 year ago | Transform from a DOM tree |
| hast-util-from-text | 2 | over 2 years ago | Set plain-text content |
| hast-util-to-dom | 19 | over 2 years ago | Transform to a DOM tree |
| hast-util-to-jsx-runtime | 56 | over 1 year ago | Transform to preact, react, solid, svelte, vue, etc |
| hast-util-to-html | 93 | over 1 year ago | Transform to an HTML string |
| hast-util-to-mdast | 38 | over 1 year ago | Transform to mdast |
| hast-util-to-nlcst | 4 | over 2 years ago | Transform to nlcst |
| hast-util-to-text | 19 | almost 2 years ago | Get plain-text content |
| hast-util-to-xast | 4 | over 2 years ago | Transform to xast |
| hast-util-find-and-replace | 6 | over 2 years ago | Find and replace text in a tree |
| hast-util-sanitize | 50 | over 1 year ago | Sanitize a tree |
| hast-util-select | 38 | over 1 year ago | , , and |
| hast-util-has-property | 1 | over 2 years ago | Check if a node has a property |
| hast-util-is-element | 12 | over 2 years ago | Check if a node is a (certain) element |
| hast-util-assert | 1 | over 2 years ago | Assert nodes |
awesome syntax-tree / xast utilities | |||
| xastscript | 12 | over 2 years ago | Create xast trees |
| xast-util-feed | 10 | over 2 years ago | Build a feed (RSS, Atom) |
| xast-util-from-xml | 16 | over 2 years ago | Transform from an XML string |
| xast-util-sitemap | 5 | over 2 years ago | Build a sitemap |
| xast-util-to-xml | 3 | over 2 years ago | Transform to an XML string |
awesome syntax-tree / esast utilities | |||
| estree-util-attach-comments | 7 | over 2 years ago | Attach comments to the tree |
| estree-util-build-jsx | 22 | over 1 year ago | Turn JSX into function calls |
| esast-util-from-js | 13 | over 2 years ago | Transform from a JavaScript string |
| estree-util-to-js | 12 | over 2 years ago | Transform to a JavaScript string |
| estree-util-value-to-estree | 24 | over 1 year ago | Turn a JavaScript value into an estree expression |
awesome syntax-tree / nlcst utilities | |||
| nlcst-search | 16 | over 2 years ago | Search for patterns in a tree |
| nlcst-to-string | 18 | almost 2 years ago | Transform to a string |
| nlcst-is-literal | 9 | over 2 years ago | Check if a node is meant literally |
| nlcst-normalize | 7 | over 2 years ago | Normalize a word for easier comparison |
| nlcst-test | 2 | over 2 years ago | Assert nodes |
awesome syntax-tree / Related lists | |||
| awesome unified | 123 | over 1 year ago | |
| awesome remark | 392 | over 1 year ago | |
| awesome rehype | 189 | over 1 year ago | |
| awesome retext | 119 | over 1 year ago | |
| awesome mdx | 310 | over 1 year ago | |