booxmedialtd/Parse Semver

Parses a semantic version from a given string

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
input_stringRaw input string containing or is a semantic version to be parsedyes
version_extractor_regexRegex to extract semantic version from a raw input string if input string is not a semverno""
namedescription
majorMAJOR part of the semver
minorMINOR part of the semver
patchPATCH part of the semver
prereleasePRERELEASE part of the semver
buildBUILD part of the semver
fullversionFull representation of the semver