Skip to content

Commit bec62c6

Browse files
committed
Add more utilities
1 parent cad6a5c commit bec62c6

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

readme.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,16 @@ alphabetically based on content after `hast-util-`
4646
— Hyperscript compatible DSL for creating nodes;
4747
* [`hast-to-hyperscript`](https://github.com/syntax-tree/hast-to-hyperscript)
4848
— Convert a Node to React, Virtual DOM, Hyperscript, and more;
49+
* [`hast-util-assert`](https://github.com/syntax-tree/hast-util-assert)
50+
— Assert HAST nodes;
4951
* [`hast-util-embedded`](https://github.com/syntax-tree/hast-util-embedded)
5052
— Check if `node` is embedded content;
53+
* [`hast-util-find-and-replace`](https://github.com/syntax-tree/hast-util-find-and-replace)
54+
— Find and replace text;
55+
* [`hast-util-from-parse5`](https://github.com/syntax-tree/hast-util-to-parse5)
56+
— Transform Parse5’s AST to HAST;
5157
* [`hast-util-from-string`](https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-from-string)
52-
— Set the plain-text value of a HAST node;
58+
— Set the plain-text value of a node;
5359
* [`hast-util-has-property`](https://github.com/syntax-tree/hast-util-has-property)
5460
— Check if a node has a property;
5561
* [`hast-util-heading`](https://github.com/syntax-tree/hast-util-heading)
@@ -76,6 +82,10 @@ alphabetically based on content after `hast-util-`
7682
— Check the state of a menu element;
7783
* [`hast-util-parse-selector`](https://github.com/syntax-tree/hast-util-parse-selector)
7884
— Create an element from a simple CSS selector;
85+
* [`hast-util-phrasing`](https://github.com/syntax-tree/hast-util-phrasing)
86+
— Check if a node is phrasing content;
87+
* [`hast-util-raw`](https://github.com/syntax-tree/hast-util-raw)
88+
— Reparse a HAST tree;
7989
* [`hast-util-sanitize`](https://github.com/syntax-tree/hast-util-sanitize)
8090
— Sanitise nodes;
8191
* [`hast-util-script-supporting`](https://github.com/syntax-tree/hast-util-script-supporting)
@@ -84,8 +94,12 @@ alphabetically based on content after `hast-util-`
8494
— Check if `node` is sectioning content;
8595
* [`hast-util-to-html`](https://github.com/syntax-tree/hast-util-to-html)
8696
— Stringify nodes to HTML;
97+
* [`hast-util-to-nlcst`](https://github.com/syntax-tree/hast-util-to-nlcst)
98+
— Transform HAST to NLCST;
99+
* [`hast-util-to-parse5`](https://github.com/syntax-tree/hast-util-to-parse5)
100+
— Transform HAST to Parse5’s AST;
87101
* [`hast-util-to-string`](https://github.com/syntax-tree/rehype-minify/tree/master/packages/hast-util-to-string)
88-
— Get the plain-text value of a HAST node;
102+
— Get the plain-text value of a node;
89103
* [`hast-util-transparent`](https://github.com/syntax-tree/hast-util-transparent)
90104
— Check if `node` is transparent content;
91105
* [`hast-util-whitespace`](https://github.com/syntax-tree/hast-util-whitespace)

0 commit comments

Comments
 (0)