steffo99/Semantic version from string
Split a string into its semantic version numbers.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| string | The string to split into semantic version numbers. | yes | — |
Outputs
| name | description |
|---|---|
| full | The full semantic version (`1.2.3-beta+ABCDEF`). |
| precedence | The semantic version with metadata excluded (`1.2.3-beta`). |
| core | The semantic version core (`1.2.3`). |
| pair | The semantic version core, excluding the patch version (`1.2`). |
| major | The major version (`1`). |
| minor | The minor version (`2`). |
| patch | The patch version (`3`). |
| prerelease | The pre-release field contents (`beta`). |
| metadata | The metadata field contents (`ABCDEF`). |