Skip to content

Commit 3647647

Browse files
committed
Fix API formatting
1 parent 47baef6 commit 3647647

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ find(node, condition)
7474

7575
Return the first node that matches `condition`, or `undefined` if no node matches.
7676

77-
* `node` (`[Node](https://github.com/wooorm/unist#node)`) - Node to search
78-
* `condition` (`string`, `object` or `function`) - Condition used to test each node. Behaviour depends on the type of the condition:
77+
- `node` (`[Node](https://github.com/wooorm/unist#node)`) - Node to search
78+
- `condition` (`string`, `object` or `function`) - Condition used to test each node. Behaviour depends on the type of the condition:
7979
- `string` finds first node with a truthy property matching `string`
8080
- `object` finds first node that has matching values for all properties of `object`
8181
- `function` finds first node for which `function` returns true when passed `node` as argument

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "unist-find",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Unist node finder. Useful for working with remark, rehype and retext.",
55
"repository": "https://github.com/blahah/unist-find",
66
"main": "index.js",

0 commit comments

Comments
 (0)