99[ ![ Chat] [ chat-badge ]] [ chat ]
1010
1111[ ** hast** ] [ hast ] utility to transform a [ * tree* ] [ tree ] to something else through
12- a [ hyperscript] [ ] DSL .
12+ a [ hyperscript] [ ] interface .
1313
1414## Install
1515
@@ -41,7 +41,7 @@ var tree = {
4141 ]
4242}
4343
44- // Transform (`hyperscript` needs `outerHTML` to stringify ):
44+ // Transform (`hyperscript` needs `outerHTML` to serialize ):
4545var doc = toH (h, tree).outerHTML
4646
4747console .log (doc)
@@ -58,7 +58,7 @@ Yields:
5858### ` toH(h, tree[, options|prefix]) `
5959
6060Transform a [ ** hast** ] [ hast ] [ * tree* ] [ tree ] to something else through a
61- [ hyperscript] [ ] DSL .
61+ [ hyperscript] [ ] interface .
6262
6363###### Parameters
6464
@@ -67,7 +67,7 @@ Transform a [**hast**][hast] [*tree*][tree] to something else through a
6767* ` prefix ` — Treated as ` {prefix: prefix} `
6868* ` options.prefix ` (` string ` or ` boolean ` , optional)
6969 — Prefix to use as a prefix for keys passed in ` attrs ` to ` h() ` ,
70- this behaviour is turned off by passing ` false ` , turned on by passing
70+ this behavior is turned off by passing ` false ` , turned on by passing
7171 a ` string ` .
7272 By default, ` h- ` is used as a prefix if the given ` h ` is detected as being
7373 ` virtual-dom/h ` or ` React.createElement `
@@ -144,7 +144,7 @@ Use [`hast-util-santize`][sanitize] to make the hast tree safe.
144144## Related
145145
146146* [ ` hastscript ` ] [ hastscript ]
147- — Hyperscript compatible DSL for creating nodes
147+ — Hyperscript compatible interface for creating nodes
148148* [ ` hast-util-sanitize ` ] [ sanitize ]
149149 — Sanitize nodes
150150* [ ` hast-util-from-dom ` ] ( https://github.com/syntax-tree/hast-util-from-dom )
0 commit comments