diff --git a/package.json b/package.json index 034156c..1903904 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,21 @@ { "name": "unist-util-select", "version": "3.0.0", - "description": "Select unist nodes using css-like selectors", + "description": "unist utility to select nodes with CSS-like selectors", "license": "MIT", "keywords": [ + "unist", + "unist-util", + "util", + "utility", + "visit", + "tree", + "ast", + "node", + "visit", + "walk", + "select", + "selector", "child", "descendant", "sibling", @@ -12,19 +24,7 @@ "expression", "filter", "find", - "match", - "ast", - "mdast", - "node", - "retext", - "select", - "selector", - "tree", - "unist", - "util", - "utility", - "visit", - "walk" + "match" ], "repository": "syntax-tree/unist-util-select", "bugs": "https://github.com/syntax-tree/unist-util-select/issues", diff --git a/readme.md b/readme.md index 6e9a948..d2fcbee 100644 --- a/readme.md +++ b/readme.md @@ -156,20 +156,23 @@ Yields: ## Related -* [`unist-util-filter`](https://github.com/syntax-tree/unist-util-filter) - — Create a new tree with all nodes that pass the given function +* [`unist-util-filter`](https://github.com/eush77/unist-util-filter) + — Create a new tree with all nodes that pass a test +* [`unist-util-map`](https://github.com/syntax-tree/unist-util-map) + — Create a new tree with all nodes mapped by a given function * [`unist-util-flatmap`](https://gitlab.com/staltz/unist-util-flatmap) - — Create a new tree by expanding a node into many + — Create a new tree by mapping (to an array) with the provided function and + then flattening * [`unist-util-is`](https://github.com/syntax-tree/unist-util-is) — Check if a node passes a test -* [`unist-util-map`](https://github.com/syntax-tree/unist-util-map) - — Create a new tree by mapping nodes * [`unist-util-remove`](https://github.com/syntax-tree/unist-util-remove) — Remove nodes from trees * [`unist-util-remove-position`](https://github.com/syntax-tree/unist-util-remove-position) — Remove positional info from trees * [`unist-util-visit`](https://github.com/syntax-tree/unist-util-visit) — Recursively walk over nodes +* [`unist-util-visit-parents`](https://github.com/syntax-tree/unist-util-visit-parents) + — Like `visit`, but with a stack of parents * [`unist-builder`](https://github.com/syntax-tree/unist-builder) — Helper for creating trees @@ -211,7 +214,7 @@ abide by its terms. [collective]: https://opencollective.com/unified -[chat-badge]: https://img.shields.io/badge/join%20the%20community-on%20spectrum-7b16ff.svg +[chat-badge]: https://img.shields.io/badge/chat-spectrum-7b16ff.svg [chat]: https://spectrum.chat/unified/syntax-tree