@@ -39,8 +39,6 @@ This document describes version 2.0.0 of **HAST**. [Changelog »][changelog].
39
39
40
40
## List of Utilities
41
41
42
- <!-- lint disable list-item-spacing-->
43
-
44
42
<!--
45
43
Utilities. The first two are special. The rest is sorted
46
44
alphabetically based on content after `hast-util-`
@@ -51,33 +49,49 @@ alphabetically based on content after `hast-util-`
51
49
* [ ` wooorm/hast-to-hyperscript ` ] ( https://github.com/wooorm/hast-to-hyperscript )
52
50
— Convert a Node to React, Virtual DOM, Hyperscript, and more;
53
51
* [ ` wooorm/hast-util-embedded ` ] ( https://github.com/wooorm/hast-util-embedded )
54
- — Check if a node is embedded content;
52
+ — Check if ` node ` is embedded content;
53
+ * [ ` wooorm/hast-util-from-string ` ] ( https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-from-string )
54
+ — Set the plain-text value of a HAST node;
55
55
* [ ` wooorm/hast-util-has-property ` ] ( https://github.com/wooorm/hast-util-has-property )
56
56
— Check if a node has a property;
57
57
* [ ` wooorm/hast-util-heading ` ] ( https://github.com/wooorm/hast-util-heading )
58
58
— Check if a node is heading content;
59
59
* [ ` wooorm/hast-util-interactive ` ] ( https://github.com/wooorm/hast-util-interactive )
60
60
— Check if a node is interactive;
61
+ * [ ` wooorm/hast-util-is-body-ok-link ` ] ( https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-is-body-ok-link )
62
+ — Check if a ` link ` element is “Body OK”;
63
+ * [ ` wooorm/hast-util-is-conditional-comment ` ] ( https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-is-conditional-comment )
64
+ — Check if ` node ` is a conditional comment;
65
+ * [ ` wooorm/hast-util-is-css-link ` ] ( https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-is-css-link )
66
+ — Check if ` node ` is a CSS ` link ` ;
67
+ * [ ` wooorm/hast-util-is-css-style ` ] ( https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-is-css-style )
68
+ — Check if ` node ` is a CSS ` style ` ;
61
69
* [ ` wooorm/hast-util-is-element ` ] ( https://github.com/wooorm/hast-util-is-element )
62
- — Check if a node is a (certain) element;
70
+ — Check if ` node ` is a (certain) element;
71
+ * [ ` wooorm/hast-util-is-event-handler ` ] ( https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-is-event-handler )
72
+ — Check if ` property ` is an event handler;
73
+ * [ ` wooorm/hast-util-is-javascript ` ] ( https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-is-javascript )
74
+ — Check if ` node ` is a JavaScript ` script ` ;
63
75
* [ ` wooorm/hast-util-labelable ` ] ( https://github.com/wooorm/hast-util-labelable )
64
- — Check if a node is labelable;
76
+ — Check if ` node ` is labelable;
65
77
* [ ` wooorm/hast-util-menu-state ` ] ( https://github.com/wooorm/hast-util-menu-state )
66
78
— Check the state of a menu element;
67
79
* [ ` wooorm/hast-util-parse-selector ` ] ( https://github.com/wooorm/hast-util-parse-selector )
68
- — Create a node from a simple CSS selector;
80
+ — Create an element from a simple CSS selector;
69
81
* [ ` wooorm/hast-util-sanitize ` ] ( https://github.com/wooorm/hast-util-sanitize )
70
82
— Sanitise nodes;
71
83
* [ ` wooorm/hast-util-script-supporting ` ] ( https://github.com/wooorm/hast-util-script-supporting )
72
- — Check if a node is script-supporting content;
84
+ — Check if ` node ` is script-supporting content;
73
85
* [ ` wooorm/hast-util-sectioning ` ] ( https://github.com/wooorm/hast-util-sectioning )
74
- — Check if a node is sectioning content;
86
+ — Check if ` node ` is sectioning content;
75
87
* [ ` wooorm/hast-util-to-html ` ] ( https://github.com/wooorm/hast-util-to-html )
76
88
— Stringify nodes to HTML;
89
+ * [ ` wooorm/hast-util-to-string ` ] ( https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-to-string )
90
+ — Get the plain-text value of a HAST node;
77
91
* [ ` wooorm/hast-util-transparent ` ] ( https://github.com/wooorm/hast-util-transparent )
78
- — Check if a node is transparent content;
92
+ — Check if ` node ` is transparent content;
79
93
* [ ` wooorm/hast-util-whitespace ` ] ( https://github.com/wooorm/hast-util-whitespace )
80
- — Check if a node is inter-element whitespace;
94
+ — Check if ` node ` is inter-element whitespace;
81
95
82
96
See the [ List of Unist Utilities] [ unist-utility ] for projects which
83
97
work with ** HAST** nodes too.
0 commit comments