hastscript
hast utility to create trees- 79%
- 15m
- 4.22 kB
mdast-util-to-hast
mdast utility to transform to hast- 77%
- 8m
- 4.2 kB
hast-util-parse-selector
hast utility to create an element from a simple CSS selector- 77%
- 12m
- 322 B
hast-to-hyperscript
hast utility to transform to something else (react, vue, etc) through a hyperscript DSL- 77%
- 7m
- 8.38 kB
hast-util-from-parse5
hast utility to transform from Parse5’s AST- 77%
- 8m
- 8.51 kB
hast-util-raw
hast utility to reparse a tree- 76%
- 7m
- 59.5 kB
hast-util-to-html
hast utility to serialize to HTML- 75%
- 2m
- 11.9 kB
hast-util-is-element
hast utility to check if a node is a (certain) element- 74%
- 2m
- 553 B
hast-util-to-parse5
hast utility to transform hast to Parse5’s AST- 74%
- 7m
hast-util-whitespace
hast utility to check if a node is inter-element whitespace- 73%
- 2m
- 240 B
hast-util-sanitize
hast utility to sanitize nodes- 73%
- 681k
- 2.05 kB
hast-util-to-text
hast utility to get the plain-text value of a node according to theinnerText
algorithm- 71%
- 240k
- 1.89 kB
hast-util-to-mdast
hast utility to transform to mdast- 71%
- 145k
- 7.98 kB
hast-util-has-property
hast utility to check if a node has a property- 71%
- 565k
- 245 B
hast-util-select
hast utility forquerySelector
,querySelectorAll
, andmatches
- 70%
- 69k
- 13.5 kB
hast-util-embedded
hast utility to check if a node is an embedded element- 69%
- 261k
- 452 B
hast-util-from-dom
hast utility to create a tree from the DOM- 69%
- 26k
- 7.83 kB
hast-util-heading-rank
hast utility to get the rank (or depth, level) of headings- 68%
- 27k
- 258 B
hast-util-to-nlcst
hast utility to transform to nlcst- 68%
- 53k
- 2.35 kB
hast-util-phrasing
hast utility to check if a node is phrasing content- 68%
- 82k
- 769 B
hast-util-to-dom
hast utility to transform to the DOM- 68%
- 2k
- 7.09 kB
hast-util-heading
hast utility to check if a node is a heading element- 67%
- 2k
- 433 B
hast-util-find-and-replace
hast utility to find and replace text in a tree- 67%
- 1k
- 1.5 kB
hast-util-classnames
hast utility to merge class names together- 67%
- 7
- 492 B
hast-util-to-xast
hast utility to transform to xast- 66%
- 15
- 7.24 kB
hast-util-to-snabbdom
hast utility to transform to a Snabbdom tree- 66%
- 3
- 6.92 kB
hast-util-from-selector
hast utility to parse CSS selectors to hast nodes- 66%
- 51
- 10.2 kB
hast-util-to-estree
hast utility to transform to estree (JavaScript AST) JSX- 66%
- 879
- 9.51 kB
hast-util-shift-heading
hast utility to change heading rank (or depth, level)- 66%
- 35
- 1.05 kB
hast-util-sectioning
hast utility to check if a node is a sectioning element- 66%
- 12
- 428 B
hast-util-transparent
hast utility to check if a node is a transparent element- 66%
- 14
- 488 B
hast-util-labelable
hast utility to check whether a node is labelable- 66%
- 3
- 260 B
hast-util-assert
hast utility to assert nodes- 66%
- 6
- 1.45 kB
hast-util-from-text
hast utility to set the plain-text value of a node according to theinnerText
algorithm- 66%
- 7
- 341 B
hast-util-interactive
hast utility to check if a node is interactive- 66%
- 4
- 412 B
hast-util-is-body-ok-link
hast utility to check if a link element is “Body OK”- 66%
- 124k
- 507 B
hast-util-script-supporting
hast utility to check if a node is a script-supporting element- 66%
- 7
- 355 B
hast-util-is-javascript
hast utility to check if an element is a JavaScript script- 65%
- 1k
- 977 B
hast-util-is-css-style
hast utility to check if an element is a css style- 65%
- 4k
- 357 B
hast-util-menu-state
hast utility to get the state of a menu element- 65%
- 5
- 442 B
hast-util-is-css-link
hast utility to check if an element is a css link- 64%
- 1k
- 320 B
Find other packages matching hast-util on npm