@@ -156,20 +156,23 @@ Yields:
156
156
157
157
## Related
158
158
159
- * [ ` unist-util-filter ` ] ( https://github.com/syntax-tree/unist-util-filter )
160
- — Create a new tree with all nodes that pass the given function
159
+ * [ ` unist-util-filter ` ] ( https://github.com/eush77/unist-util-filter )
160
+ — Create a new tree with all nodes that pass a test
161
+ * [ ` unist-util-map ` ] ( https://github.com/syntax-tree/unist-util-map )
162
+ — Create a new tree with all nodes mapped by a given function
161
163
* [ ` unist-util-flatmap ` ] ( https://gitlab.com/staltz/unist-util-flatmap )
162
- — Create a new tree by expanding a node into many
164
+ — Create a new tree by mapping (to an array) with the provided function and
165
+ then flattening
163
166
* [ ` unist-util-is ` ] ( https://github.com/syntax-tree/unist-util-is )
164
167
— Check if a node passes a test
165
- * [ ` unist-util-map ` ] ( https://github.com/syntax-tree/unist-util-map )
166
- — Create a new tree by mapping nodes
167
168
* [ ` unist-util-remove ` ] ( https://github.com/syntax-tree/unist-util-remove )
168
169
— Remove nodes from trees
169
170
* [ ` unist-util-remove-position ` ] ( https://github.com/syntax-tree/unist-util-remove-position )
170
171
— Remove positional info from trees
171
172
* [ ` unist-util-visit ` ] ( https://github.com/syntax-tree/unist-util-visit )
172
173
— Recursively walk over nodes
174
+ * [ ` unist-util-visit-parents ` ] ( https://github.com/syntax-tree/unist-util-visit-parents )
175
+ — Like ` visit ` , but with a stack of parents
173
176
* [ ` unist-builder ` ] ( https://github.com/syntax-tree/unist-builder )
174
177
— Helper for creating trees
175
178
@@ -211,7 +214,7 @@ abide by its terms.
211
214
212
215
[ collective ] : https://opencollective.com/unified
213
216
214
- [ chat-badge ] : https://img.shields.io/badge/join%20the%20community-on%20spectrum -7b16ff.svg
217
+ [ chat-badge ] : https://img.shields.io/badge/chat-spectrum -7b16ff.svg
215
218
216
219
[ chat ] : https://spectrum.chat/unified/syntax-tree
217
220
0 commit comments