From 9cb68f1db72d297183233f4d8d287e935f2b6ddd Mon Sep 17 00:00:00 2001 From: isaacs Date: Tue, 26 Mar 2019 16:22:01 -0700 Subject: [PATCH] document parse method --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 11b659ed..e5ccecec 100644 --- a/README.md +++ b/README.md @@ -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