ymeadows/Versions

Do math on semantic versions

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionInput versionyes
operationOperation to perform (increment, decrement, cut, highest)noincrement
prefixa prefix to expect for the version string (e.g. 'v')no
stricttreat the prefix strictly i.e. error if not presentnofalse
flagsflags to pass to versiontool, like --major or --minor 2no
namedescription
resultthe result of the calculation