-- Leo's gemini proxy

-- Connecting to freeshell.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

semver


> Semantic version string parser.

More information.


Check if a version string respects the semantic versioning format (prints an empty string if it does not match):

semver {1.2}

Convert a version string to the semantic versioning format:

semver --coerce {1.2}

Test if `1.2.3` matches the `^1.0` range (prints an empty string if it does not match):

semver {1.2.3} --range "{^1.0}"

Test with multiple ranges:

semver {1.2.3} --range {">=1.0"} {"<2.0"}

Test multiple version strings and return only the ones that match:

semver {1.2.3} {2.0.0} --range "{^1.0}"


> Copyright © 2014—present the tldr-pages team and contributors.

> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY



-- Response ended

-- Page fetched on Tue May 21 01:40:30 2024