We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 798282c commit 69393f2Copy full SHA for 69393f2
readme.md
@@ -13,15 +13,9 @@ npm install hastscript
13
14
## Usage
15
16
-Dependencies:
17
-
18
```javascript
19
var h = require('hastscript');
20
-```
21
22
-AST:
23
24
-```javascript
25
var tree = h('.foo#some-id', [
26
h('span', 'some text'),
27
h('input', {
@@ -78,7 +72,7 @@ DSL for creating virtual [HAST][] trees.
78
72
79
73
###### Returns
80
74
81
-[`Node`][hast-node] — A HAST node.
75
+[`Element`][element].
82
76
83
77
## License
84
@@ -102,7 +96,7 @@ DSL for creating virtual [HAST][] trees.
102
96
103
97
[hast]: https://github.com/wooorm/hast
104
98
105
-[hast-node]: https://github.com/wooorm/hast#node
99
+[element]: https://github.com/wooorm/hast#element
106
100
107
101
[virtual-hyperscript]: https://github.com/Matt-Esch/virtual-dom/tree/master/virtual-hyperscript
108
0 commit comments