booxmedialtd/Parse Semver
Parses a semantic version from a given string
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| input_string | Raw input string containing or is a semantic version to be parsed | yes | — |
| version_extractor_regex | Regex to extract semantic version from a raw input string if input string is not a semver | no | "" |
Outputs
| name | description |
|---|---|
| major | MAJOR part of the semver |
| minor | MINOR part of the semver |
| patch | PATCH part of the semver |
| prerelease | PRERELEASE part of the semver |
| build | BUILD part of the semver |
| fullversion | Full representation of the semver |