1212
1313## Contents
1414
15- * [ What is this?] ( #what-is-this )
16- * [ When should I use this?] ( #when-should-i-use-this )
17- * [ Install] ( #install )
18- * [ Use] ( #use )
19- * [ API] ( #api )
20- * [ ` findBefore(parent, node|index[, test]) ` ] ( #findbeforeparent-nodeindex-test )
21- * [ Types] ( #types )
22- * [ Compatibility] ( #compatibility )
23- * [ Related] ( #related )
24- * [ Contribute] ( #contribute )
25- * [ License] ( #license )
15+ * [ What is this?] ( #what-is-this )
16+ * [ When should I use this?] ( #when-should-i-use-this )
17+ * [ Install] ( #install )
18+ * [ Use] ( #use )
19+ * [ API] ( #api )
20+ * [ ` findBefore(parent, node|index[, test]) ` ] ( #findbeforeparent-nodeindex-test )
21+ * [ Types] ( #types )
22+ * [ Compatibility] ( #compatibility )
23+ * [ Related] ( #related )
24+ * [ Contribute] ( #contribute )
25+ * [ License] ( #license )
2626
2727## What is this?
2828
@@ -97,14 +97,14 @@ that passes `test`.
9797
9898###### Parameters
9999
100- * ` parent ` ([ ` Node ` ] [ node ] )
101- — parent node
102- * ` index ` (` number ` )
103- — index of child in ` parent `
104- * ` child ` ([ ` Node ` ] [ node ] )
105- — child in ` parent `
106- * ` test ` ([ ` Test ` ] [ test ] )
107- — ` unist-util-is ` -compatible test
100+ * ` parent ` ([ ` Node ` ] [ node ] )
101+ — parent node
102+ * ` index ` (` number ` )
103+ — index of child in ` parent `
104+ * ` child ` ([ ` Node ` ] [ node ] )
105+ — child in ` parent `
106+ * ` test ` ([ ` Test ` ] [ test ] )
107+ — ` unist-util-is ` -compatible test
108108
109109###### Returns
110110
@@ -127,28 +127,28 @@ compatible with Node.js 16.
127127
128128## Related
129129
130- * [ ` unist-util-find-after ` ] ( https://github.com/syntax-tree/unist-util-find-after )
131- — find a node after another node
132- * [ ` unist-util-find-all-after ` ] ( https://github.com/syntax-tree/unist-util-find-all-after )
133- — find all nodes after another node
134- * [ ` unist-util-find-all-before ` ] ( https://github.com/syntax-tree/unist-util-find-all-before )
135- — find all nodes before another node
136- * [ ` unist-util-find-all-between ` ] ( https://github.com/mrzmmr/unist-util-find-all-between )
137- — find all nodes between two nodes
138- * [ ` unist-util-visit ` ] ( https://github.com/syntax-tree/unist-util-visit )
139- — walk the tree
140- * [ ` unist-util-visit-parents ` ] ( https://github.com/syntax-tree/unist-util-visit-parents )
141- — walk the tree with a stack of parents
142- * [ ` unist-util-filter ` ] ( https://github.com/syntax-tree/unist-util-filter )
143- — create a new tree with all nodes that pass a test
144- * [ ` unist-util-map ` ] ( https://github.com/syntax-tree/unist-util-map )
145- — create a new tree with all nodes mapped by a given function
146- * [ ` unist-util-flatmap ` ] ( https://gitlab.com/staltz/unist-util-flatmap )
147- — create a new tree by mapping (to an array) by a given function
148- * [ ` unist-util-remove ` ] ( https://github.com/syntax-tree/unist-util-remove )
149- — remove nodes from a tree that pass a test
150- * [ ` unist-util-select ` ] ( https://github.com/syntax-tree/unist-util-select )
151- — select nodes with CSS-like selectors
130+ * [ ` unist-util-find-after ` ] ( https://github.com/syntax-tree/unist-util-find-after )
131+ — find a node after another node
132+ * [ ` unist-util-find-all-after ` ] ( https://github.com/syntax-tree/unist-util-find-all-after )
133+ — find all nodes after another node
134+ * [ ` unist-util-find-all-before ` ] ( https://github.com/syntax-tree/unist-util-find-all-before )
135+ — find all nodes before another node
136+ * [ ` unist-util-find-all-between ` ] ( https://github.com/mrzmmr/unist-util-find-all-between )
137+ — find all nodes between two nodes
138+ * [ ` unist-util-visit ` ] ( https://github.com/syntax-tree/unist-util-visit )
139+ — walk the tree
140+ * [ ` unist-util-visit-parents ` ] ( https://github.com/syntax-tree/unist-util-visit-parents )
141+ — walk the tree with a stack of parents
142+ * [ ` unist-util-filter ` ] ( https://github.com/syntax-tree/unist-util-filter )
143+ — create a new tree with all nodes that pass a test
144+ * [ ` unist-util-map ` ] ( https://github.com/syntax-tree/unist-util-map )
145+ — create a new tree with all nodes mapped by a given function
146+ * [ ` unist-util-flatmap ` ] ( https://gitlab.com/staltz/unist-util-flatmap )
147+ — create a new tree by mapping (to an array) by a given function
148+ * [ ` unist-util-remove ` ] ( https://github.com/syntax-tree/unist-util-remove )
149+ — remove nodes from a tree that pass a test
150+ * [ ` unist-util-select ` ] ( https://github.com/syntax-tree/unist-util-select )
151+ — select nodes with CSS-like selectors
152152
153153## Contribute
154154
0 commit comments