Skip to content

Commit

Permalink
document parse method
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Mar 26, 2019
1 parent 38d42ca commit 9cb68f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,8 @@ strings that they parse.
* `patch(v)`: Return the patch version number.
* `intersects(r1, r2, loose)`: Return true if the two supplied ranges
or comparators intersect.
* `parse(v)`: Attempt to parse a string as a semantic version, returning either
a `SemVer` object or `null`.

### Comparison

Expand Down

0 comments on commit 9cb68f1

Please sign in to comment.