@@ -12,12 +12,12 @@ re-created.
1212
1313The reason for introducing a new “virtual” DOM is primarily:
1414
15- * The DOM is very heavy to implement outside of the browser;
16- a lean, stripped down virtual DOM can be used everywhere;
17- * Most virtual DOMs do not focus on ease of use in transformations;
15+ * The DOM is very heavy to implement outside of the browser,
16+ a lean and stripped down virtual DOM can be used everywhere
17+ * Most virtual DOMs do not focus on ease of use in transformations
1818* Other virtual DOMs cannot represent the syntax of HTML in its
19- entirety, think comments, document types, and character data;
20- * Neither HTML nor virtual DOMs focus on positional information.
19+ entirety, think comments, document types, and character data
20+ * Neither HTML nor virtual DOMs focus on positional information
2121
2222** HAST** is a subset of [ Unist] [ ] , and implemented by [ rehype] [ ] .
2323
@@ -43,111 +43,111 @@ alphabetically based on content after `hast-util-`
4343-->
4444
4545* [ ` hastscript ` ] ( https://github.com/syntax-tree/hastscript )
46- — Hyperscript compatible DSL for creating nodes;
46+ — Hyperscript compatible DSL for creating nodes
4747* [ ` hast-to-hyperscript ` ] ( https://github.com/syntax-tree/hast-to-hyperscript )
48- — Convert a Node to React, Virtual DOM, Hyperscript, and more;
48+ — Convert a Node to React, Virtual DOM, Hyperscript, and more
4949* [ ` hast-util-assert ` ] ( https://github.com/syntax-tree/hast-util-assert )
50- — Assert HAST nodes;
50+ — Assert HAST nodes
5151* [ ` hast-util-embedded ` ] ( https://github.com/syntax-tree/hast-util-embedded )
52- — Check if ` node ` is embedded content;
52+ — Check if ` node ` is embedded content
5353* [ ` hast-util-find-and-replace ` ] ( https://github.com/syntax-tree/hast-util-find-and-replace )
54- — Find and replace text;
54+ — Find and replace text
5555* [ ` hast-util-from-parse5 ` ] ( https://github.com/syntax-tree/hast-util-to-parse5 )
56- — Transform Parse5’s AST to HAST;
56+ — Transform Parse5’s AST to HAST
5757* [ ` hast-util-from-string ` ] ( https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-from-string )
58- — Set the plain-text value of a node;
58+ — Set the plain-text value of a node
5959* [ ` hast-util-has-property ` ] ( https://github.com/syntax-tree/hast-util-has-property )
60- — Check if a node has a property;
60+ — Check if a node has a property
6161* [ ` hast-util-heading ` ] ( https://github.com/syntax-tree/hast-util-heading )
62- — Check if a node is heading content;
62+ — Check if a node is heading content
6363* [ ` hast-util-interactive ` ] ( https://github.com/syntax-tree/hast-util-interactive )
64- — Check if a node is interactive;
64+ — Check if a node is interactive
6565* [ ` hast-util-is-body-ok-link ` ] ( https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-is-body-ok-link )
66- — Check if a ` link ` element is “Body OK”;
66+ — Check if a ` link ` element is “Body OK”
6767* [ ` hast-util-is-conditional-comment ` ] ( https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-is-conditional-comment )
68- — Check if ` node ` is a conditional comment;
68+ — Check if ` node ` is a conditional comment
6969* [ ` hast-util-is-css-link ` ] ( https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-is-css-link )
70- — Check if ` node ` is a CSS ` link ` ;
70+ — Check if ` node ` is a CSS ` link `
7171* [ ` hast-util-is-css-style ` ] ( https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-is-css-style )
72- — Check if ` node ` is a CSS ` style ` ;
72+ — Check if ` node ` is a CSS ` style `
7373* [ ` hast-util-is-element ` ] ( https://github.com/syntax-tree/hast-util-is-element )
74- — Check if ` node ` is a (certain) element;
74+ — Check if ` node ` is a (certain) element
7575* [ ` hast-util-is-event-handler ` ] ( https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-is-event-handler )
76- — Check if ` property ` is an event handler;
76+ — Check if ` property ` is an event handler
7777* [ ` hast-util-is-javascript ` ] ( https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-is-javascript )
78- — Check if ` node ` is a JavaScript ` script ` ;
78+ — Check if ` node ` is a JavaScript ` script `
7979* [ ` hast-util-labelable ` ] ( https://github.com/syntax-tree/hast-util-labelable )
80- — Check if ` node ` is labelable;
80+ — Check if ` node ` is labelable
8181* [ ` hast-util-menu-state ` ] ( https://github.com/syntax-tree/hast-util-menu-state )
82- — Check the state of a menu element;
82+ — Check the state of a menu element
8383* [ ` hast-util-parse-selector ` ] ( https://github.com/syntax-tree/hast-util-parse-selector )
84- — Create an element from a simple CSS selector;
84+ — Create an element from a simple CSS selector
8585* [ ` hast-util-phrasing ` ] ( https://github.com/syntax-tree/hast-util-phrasing )
86- — Check if a node is phrasing content;
86+ — Check if a node is phrasing content
8787* [ ` hast-util-raw ` ] ( https://github.com/syntax-tree/hast-util-raw )
88- — Reparse a HAST tree;
88+ — Reparse a HAST tree
8989* [ ` hast-util-sanitize ` ] ( https://github.com/syntax-tree/hast-util-sanitize )
90- — Sanitise nodes;
90+ — Sanitise nodes
9191* [ ` hast-util-select ` ] ( https://github.com/syntax-tree/hast-util-select )
92- — ` querySelector ` , ` querySelectorAll ` , and ` matches ` ;
92+ — ` querySelector ` , ` querySelectorAll ` , and ` matches `
9393* [ ` hast-util-script-supporting ` ] ( https://github.com/syntax-tree/hast-util-script-supporting )
94- — Check if ` node ` is script-supporting content;
94+ — Check if ` node ` is script-supporting content
9595* [ ` hast-util-sectioning ` ] ( https://github.com/syntax-tree/hast-util-sectioning )
96- — Check if ` node ` is sectioning content;
96+ — Check if ` node ` is sectioning content
9797* [ ` hast-util-to-html ` ] ( https://github.com/syntax-tree/hast-util-to-html )
98- — Stringify nodes to HTML;
98+ — Stringify nodes to HTML
9999* [ ` hast-util-to-mdast ` ] ( https://github.com/syntax-tree/hast-util-to-mdast )
100- — Transform HAST to MDAST;
100+ — Transform HAST to MDAST
101101* [ ` hast-util-to-nlcst ` ] ( https://github.com/syntax-tree/hast-util-to-nlcst )
102- — Transform HAST to NLCST;
102+ — Transform HAST to NLCST
103103* [ ` hast-util-to-parse5 ` ] ( https://github.com/syntax-tree/hast-util-to-parse5 )
104- — Transform HAST to Parse5’s AST;
104+ — Transform HAST to Parse5’s AST
105105* [ ` hast-util-to-string ` ] ( https://github.com/syntax-tree/rehype-minify/tree/master/packages/hast-util-to-string )
106- — Get the plain-text value of a node;
106+ — Get the plain-text value of a node
107107* [ ` hast-util-transparent ` ] ( https://github.com/syntax-tree/hast-util-transparent )
108- — Check if ` node ` is transparent content;
108+ — Check if ` node ` is transparent content
109109* [ ` hast-util-whitespace ` ] ( https://github.com/syntax-tree/hast-util-whitespace )
110- — Check if ` node ` is inter-element whitespace;
110+ — Check if ` node ` is inter-element whitespace
111111
112112See the [ List of Unist Utilities] [ unist-utility ] for projects which
113113work with ** HAST** nodes too.
114114
115115## Related HTML Utilities
116116
117117* [ ` a-rel ` ] ( https://github.com/wooorm/a-rel )
118- — List of link types for ` rel ` on ` a ` / ` area ` ;
118+ — List of link types for ` rel ` on ` a ` / ` area `
119119* [ ` aria-attributes ` ] ( https://github.com/wooorm/aria-attributes )
120- — List of ARIA attributes;
120+ — List of ARIA attributes
121121* [ ` collapse-white-space ` ] ( https://github.com/wooorm/collapse-white-space )
122- — Replace multiple white-space characters with a single space;
122+ — Replace multiple white-space characters with a single space
123123* [ ` comma-separated-tokens ` ] ( https://github.com/wooorm/comma-separated-tokens )
124- — Parse/stringify comma-separated tokens;
124+ — Parse/stringify comma-separated tokens
125125* [ ` html-tag-names ` ] ( https://github.com/wooorm/html-tag-names )
126- — List of HTML tag-names;
126+ — List of HTML tag-names
127127* [ ` html-dangerous-encodings ` ] ( https://github.com/wooorm/html-dangerous-encodings )
128- — List of dangerous HTML character encoding labels;
128+ — List of dangerous HTML character encoding labels
129129* [ ` html-encodings ` ] ( https://github.com/wooorm/html-encodings )
130- — List of HTML character encoding labels;
130+ — List of HTML character encoding labels
131131* [ ` html-element-attributes ` ] ( https://github.com/wooorm/html-element-attributes )
132- — Map of HTML attributes;
132+ — Map of HTML attributes
133133* [ ` html-void-elements ` ] ( https://github.com/wooorm/html-void-elements )
134- — List of void HTML tag-names;
134+ — List of void HTML tag-names
135135* [ ` link-rel ` ] ( https://github.com/wooorm/link-rel )
136- — List of link types for ` rel ` on ` link ` ;
136+ — List of link types for ` rel ` on ` link `
137137* [ ` mathml-tag-names ` ] ( https://github.com/wooorm/mathml-tag-names )
138- — List of MathML tag-names;
138+ — List of MathML tag-names
139139* [ ` meta-name ` ] ( https://github.com/wooorm/meta-name )
140- — List of values for ` name ` on ` meta ` ;
140+ — List of values for ` name ` on ` meta `
141141* [ ` property-information ` ] ( https://github.com/wooorm/property-information )
142- — Information on HTML properties;
142+ — Information on HTML properties
143143* [ ` space-separated-tokens ` ] ( https://github.com/wooorm/space-separated-tokens )
144- — Parse/stringify space-separated tokens;
144+ — Parse/stringify space-separated tokens
145145* [ ` svg-tag-names ` ] ( https://github.com/wooorm/svg-tag-names )
146- — List of SVG tag-names;
146+ — List of SVG tag-names
147147* [ ` svg-element-attributes ` ] ( https://github.com/wooorm/svg-element-attributes )
148- — Map of SVG attributes;
148+ — Map of SVG attributes
149149* [ ` web-namespaces ` ] ( https://github.com/wooorm/web-namespaces )
150- — Map of web namespaces.
150+ — Map of web namespaces
151151
152152## AST
153153
0 commit comments