Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJDufour authored Sep 24, 2021
1 parent 42da3c1 commit 1c1b17b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const xml = `
</Metadata>
`;
const tags = findTagsByName(xml, "MDI");
// will output an array of tags
// tags is an array of tags
```
## find one tag by path
```javascript
Expand Down Expand Up @@ -88,7 +88,7 @@ To get an array of tags that follow a path:
```javascript
const findTagsByPath = require("xml-utils/find-tags-by-path");
const tags = findTagByPath(xml, ["Metadata", "MDI"]);
// will output an array of tags
// tags is an array of tags
```


Expand Down

0 comments on commit 1c1b17b

Please sign in to comment.