Skip to content

Commit 9cb68f1

Browse files
committed
document parse method
1 parent 38d42ca commit 9cb68f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,8 @@ strings that they parse.
333333
* `patch(v)`: Return the patch version number.
334334
* `intersects(r1, r2, loose)`: Return true if the two supplied ranges
335335
or comparators intersect.
336+
* `parse(v)`: Attempt to parse a string as a semantic version, returning either
337+
a `SemVer` object or `null`.
336338

337339
### Comparison
338340

0 commit comments

Comments
 (0)