syntax-tree/hastscript
utility to create hast trees- 79%
- 10m
- 65
syntax-tree/mdast-util-to-hast
utility to transform mdast to hast- 78%
- 5m
- 38
syntax-tree/hast-util-parse-selector
utility to create an element from a simple CSS selector- 77%
- 8m
- 8
syntax-tree/hast-to-hyperscript
utility to transform hast to something else through a hyperscript DSL- 77%
- 5m
- 33
syntax-tree/hast-util-from-parse5
utility to transform Parse5’s AST to hast- 77%
- 5m
- 8
syntax-tree/hast-util-raw
utility to reparse a hast tree- 76%
- 4m
- 2
syntax-tree/hast-util-to-html
utility to serialize hast to HTML- 75%
- 1m
- 31
syntax-tree/hast-util-to-parse5
utility to transform hast to Parse5’s AST- 74%
- 4m
- 1
syntax-tree/hast-util-is-element
utility to check if a node is a (certain) element- 74%
- 1m
- 5
syntax-tree/hast-util-whitespace
utility to check if a node is inter-element whitespace- 73%
- 1m
- 3
syntax-tree/hast-util-sanitize
utility to sanitize hast nodes- 73%
- 503k
- 23
syntax-tree/hast-util-has-property
utility to check if a node has a property- 72%
- 359k
- 0
syntax-tree/hast-util-to-mdast
utility to transform hast (HTML) to mdast (markdown)- 71%
- 116k
- 11
syntax-tree/hast-util-to-text
utility to get the plain-text value of a node according to theinnerText
algorithm- 70%
- 172k
- 8
syntax-tree/hast-util-select
utility to addquerySelector
,querySelectorAll
, andmatches
support for hast- 70%
- 19k
- 14
syntax-tree/hast-util-embedded
utility to check if a node is an embedded element- 69%
- 186k
- 1
syntax-tree/hast-util-phrasing
utility to check if a node is phrasing content- 69%
- 57k
- 0
syntax-tree/hast-util-to-nlcst
utility to transform hast to nlcst- 68%
- 38k
- 3
syntax-tree/hast-util-from-dom
utility to transform a DOM tree to hast- 68%
- 17k
- 12
syntax-tree/hast-util-heading
utility to check if a node is a heading element- 67%
- 2k
- 3
syntax-tree/hast-util-find-and-replace
utility to find and replace text in a hast tree- 67%
- 1k
- 2
syntax-tree/hast-util-to-dom
utility to transform hast to a DOM tree- 67%
- 2k
- 9
syntax-tree/hast-util-classnames
utility to merge class names together- 67%
- 16
- 1
syntax-tree/hast-util-to-snabbdom
utility to transform to a Snabbdom tree- 66%
- 21
- 4
syntax-tree/hast-util-from-selector
utility to parse CSS selectors to hast nodes- 66%
- 49
- 1
syntax-tree/hast-util-to-estree
hast utility to transform to estree (JavaScript AST) JSX- 66%
- 593
- 5
syntax-tree/hast-util-heading-rank
utility to get the rank (or depth, level) of headings- 66%
- 14k
- 3
syntax-tree/hast-util-sectioning
utility to check if a node is a sectioning element- 66%
- 28
- 2
syntax-tree/hast-util-transparent
utility to check if a node is a transparent element- 66%
- 31
- 1
syntax-tree/hast-util-labelable
utility to check whether a node is labelable- 66%
- 19
- 2
syntax-tree/hast-util-shift-heading
utility to change heading rank (or depth, level) in hast- 66%
- 41
- 2
syntax-tree/hast-util-assert
utility to assert hast nodes- 66%
- 29
- 0
syntax-tree/hast-util-from-text
utility to set the plain-text value of a node according to theinnerText
algorithm- 66%
- 21
- 2
syntax-tree/hast-util-interactive
utility to check if a node is interactive- 66%
- 22
- 0
syntax-tree/hast-util-to-xast
utility to transform to xast (xml)- 66%
- 17
- 2
syntax-tree/hast-util-script-supporting
utility to check if a node is a script-supporting element- 66%
- 18
- 0
syntax-tree/hast-util-menu-state
utility to get the state of a menu element- 65%
- 22
- 0
Find other projects matching hast-util on GitHub