hast
awesome-syntax-tree
Curated list of awesome syntax-tree, unist, hast, xast, mdast, esast, nlcst resources
- 125
- 2 y ago
hast-util-to-jsx-runtime
hast utility to transform to preact, react, solid, svelte, vue, etc
- 91
- JavaScript
- MIT
- 3 wk ago
hast-util-select
utility to add `querySelector`, `querySelectorAll`, and `matches` support for hast
- 43
- JavaScript
- MIT
- 16 h ago
hast-util-to-text
utility to get the plain-text value of a node according to the `innerText` algorithm
- 25
- JavaScript
- MIT
- 13 h ago
hast-util-parse-selector
utility to create an element from a simple CSS selector
- 14
- JavaScript
- MIT
- 3 y ago
hast-util-from-html-isomorphic
hast utility that turns HTML into a syntax tree (while being small in browsers)
- 9
- JavaScript
- MIT
- 3 y ago
hast-util-truncate
utility to truncate the tree to a certain number of characters
- 4
- JavaScript
- MIT
- 3 y ago
hast-util-shift-heading
utility to change heading rank (or depth, level) in hast
- 3
- JavaScript
- MIT
- 3 y ago
hast-util-from-text
utility to set the plain-text value of a node according to the `innerText` algorithm
- 3
- JavaScript
- MIT
- 3 y ago