diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2015-02-13 12:00:12 +0300 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2015-02-13 12:00:12 +0300 |
commit | 4b420714dfb84338d85def78c30bd665e32d72c1 (patch) | |
tree | 196b1cc25a33742b7adee0651b814575cbdb4fa4 /node_modules/semver/README.md | |
parent | 6fd0fbd8a0347fd47cb7ee0064e0902a2f8a087c (diff) |
semver@4.3.0
Adds new functions to extract the {major,minor,patch} parts from a
version (no changes to npm).
Diffstat (limited to 'node_modules/semver/README.md')
-rw-r--r-- | node_modules/semver/README.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/node_modules/semver/README.md b/node_modules/semver/README.md index 54643525f..b5e35ff0b 100644 --- a/node_modules/semver/README.md +++ b/node_modules/semver/README.md @@ -248,6 +248,9 @@ strings that they parse. same as `prepatch`. It increments the patch version, then makes a prerelease. If the input version is already a prerelease it simply increments it. +* `major(v)`: Return the major version number. +* `minor(v)`: Return the minor version number. +* `patch(v)`: Return the patch version number. ### Comparison |